当前位置:网站首页>Crawl common English names
Crawl common English names
2022-07-27 16:30:00 【Sweet scented osmanthus is very fragrant, and the rising sun is】
import re
from selenium import webdriver
import time
# create 'browser'
browser = webdriver.Chrome()
# get the url ,open the web page
browser.get("http://www.cilin.org/tool/name.html")
# wait seconds for web page opending(loading)
time.sleep(5)
english_names=[]
name_list = []
texts = browser.find_elements_by_class_name('container')
for n in texts:
english_names.append(n.text)
name = english_names[-3].split('\n')[3:]
for n in name:
print(n)
hn = n.split(' ')[0]
name_list.append(hn)
print(name_list)
import pandas as pd
n_df = pd.DataFrame(name_list, columns=['name'])
n_df['name'].str.replace(',','')
n_df.to_csv('englist_name.csv',encoding='utf-8')
result
['Abbot,', 'Abe', 'Abraham', 'Acheson', 'Ackerman,', 'Adam', 'Adams', 'Addison', 'Adela', 'Adelaide', 'Adolph', 'Agnes', 'Albert', 'Alcott', 'Aldington', 'Aldridge', 'Aled,', 'Alexander', 'Alfred', 'Alice', 'Alick', 'Alsop,', 'Aly', 'Amelia', 'Anderson', 'Andrew', 'Ann', 'Anna', 'Anne', 'Anthony', 'Antoinette', 'Antonia', 'Arabella', 'Archibald', 'Armstrong', 'Arnold', 'Arthur', 'Attlee', 'Augustine', 'Augustus', 'Austen', 'Austin', 'Babbitt', 'Bach', 'Bacon', 'Baldwin', 'Barnard', 'Barney', 'Barrett', 'Barrie', 'Bart', 'Bartholomew', 'Bartlett', 'Barton', 'Bauer', 'Beard', 'Beaufort', 'Becher', 'Beck', 'Becky', 'Beerbohm', 'Bell', 'Bellamy', 'Belle', 'Belloc', 'Ben', 'Benedict', 'Benjamin', 'Bennett', 'Benson', 'Bentham', 'Berkeley', 'Bernal', 'Bernard', 'Bert', 'Bertha', 'Bertie', 'Bertram', 'Bess', 'Bessemer', 'Bessie', 'Bethune', 'Betsy', 'Betty', 'Bill', 'Billy', 'Birrell', 'Black', 'Blake', 'Bloomer', 'Bloomfield', 'Bloor', 'Blume', 'Bob', 'Bobby', 'Boswell', 'Bowen', 'Bowman', 'Boyle', 'Bradley', 'Bray', 'Brewster', 'Bridges', 'Bright', 'Broad', 'Bronte', 'Brooke', 'Brown', 'Browne', 'Browning', 'Bruce', 'Bruno', 'Bryan', 'Bryce', 'Buck', 'Buckle', 'Bulwer', 'Bunyan', 'Burke', 'Burne-Jones', 'Burns', 'Butler', 'Byron', 'Camilla', 'Camp', 'Carey', 'Carl', 'Carllyle', 'Carmen', 'Carnegie', 'Caroline', 'Carpenter', 'Carrie', 'Carroll', 'Carter', 'Catharine,', 'Cecillia', 'Chamberlain', 'Chaplin', 'Chapman', 'Charles', 'Charley', 'Charlotte', 'Charles', 'Chaucer', 'Chesterton', 'Child', 'Childe', 'Christ', 'Christian', 'Christiana', 'Christie', 'Christopher', 'Christy', 'Church', 'Churchill', 'Cissie', 'Clapham', 'Clara', 'Clare', 'Clarissa', 'Clark,', 'Clemens', 'Clement', 'Cocker', 'Coffey', 'Colclough', 'Coleridge', 'Collins', 'Commons', 'Conan', 'Congreve', 'Connie', 'Connor', 'Conrad', 'Constance', 'Cook,', 'Cooper', 'Copperfield', 'Cotton', 'Coverdale', 'Cowper', 'Craigie', 'Crane', 'Crichton', 'Croft', 'Crofts', 'Cromwell', 'Cronin', 'Cumberland', 'Curme', 'Daisy', 'Dalton', 'Dan', 'Daniel', 'Daniell', 'Darwin', 'David', 'Davy', 'Defoe', 'Delia', 'Den,', 'DeQuincey', 'Dewar', 'Dewey', 'Dick', 'Dickens', 'Dickey', 'Dillon', 'Dobbin', 'Dodd', 'Doherty', 'Dolly', 'Donne', 'Dora', 'Doris', 'Dorothea', 'Dorothy', 'Douglas,', 'Doyle', 'Dierser', 'Dryden', 'DuBois', 'Dulles', 'Dunbar', 'Duncan', 'Dunlop', 'Dupont', 'Dutt', 'Eddie', 'Eden', 'Edgeworth', 'Edie', 'Edison', 'Edith', 'Edmund', 'Edward', 'Effie', 'Eipstein', 'Eisenhower', 'Eleanor', 'Electra', 'Elinor', 'Eliot', 'Elizabeth', 'Ella', 'Ellen', 'Ellis', 'Elsie', 'Emerson', 'Emily', 'Emma', 'Emmie,', 'Ernest', 'Esther', 'Eugen', 'Eugene', 'Euphemia', 'Eva', 'Evan', 'Evans', 'Eve', 'Evelina', 'Eveline,', 'Ezekiel', 'Fanny', 'Faraday', 'Fast', 'Faulkner', 'Felix', 'Felton', 'Ferdinand', 'Ferguson', 'Field', 'Fielding', 'Finn', 'FitzGerald', 'Flower', 'Flynn', 'Ford', 'Forster', 'Foster', 'Fowler', 'Fox', 'Frances', 'Francis', 'Frank', 'Franklin', 'Fred', 'Frederick', 'Freeman', 'Funk', 'Gabriel', 'Galbraith', 'Gallacher', 'Gallup', 'Galsworthy', 'Garcia', 'Garden', 'Gard,', 'Gaskell', 'Geoffrey', 'Geordie', 'George', 'Gibbon', 'Gibson', 'Gilbert', 'Giles', 'Gill', 'Gissing', 'Gladstone', 'Godwin', 'Gold', 'Goldsmith', 'Gosse', 'Grace', 'Gracie', 'Graham', 'Grant', 'Grantham', 'Gray', 'Green', 'Gregory', 'Gresham', 'Grey', 'Grote', 'Gunter', 'Gunther', 'Gus', 'Guy', 'Habakkuk', 'Haggai', 'Hal', 'Halifax', 'Hamilton', 'Hamlet', 'Hansen', 'Hansom', 'Hardy', 'Harold', 'Harper', 'Harriman', 'Harrington', 'Harrison', 'Harrod', 'Harry', 'Hart', 'Harte', 'Harvey', 'Hawthorne', 'Haydn', 'Haywood', 'Hazlitt', 'Hearst', 'Helin,', 'Hemingway', 'Henley', 'Henrietta', 'Henry', 'Herbert', 'Herty', 'Hewlett', 'Hicks', 'Hill', 'Hobbes', 'Hobson', 'Hodge', 'Hodgson', 'Holmes', 'Holt', 'Hood', 'Hoover', 'Hope', 'Hopkin,', 'Horace', 'Horatio', 'Hornby', 'Hosea', 'House', 'Housman', 'Houston', 'Howard', 'Howell,', 'Hoyle', 'Hubbard', 'Hudson', 'Huggins', 'Hugh', 'Hughes', 'Hume', 'Humphr,', 'Huntington', 'Hutt', 'Huxley', 'Ingersoll', 'Irving', 'Isaac', 'Isabel', 'Isaiah', 'Ivan', 'Jack', 'Jackson', 'Jacob', 'James', 'Jane', 'Jasper', 'Jeames', 'Jean', 'Jefferson', 'Jenkin,', 'Jennings', 'Jenny', 'Jeremiah', 'Jeremy', 'Jerome', 'Jerry', 'Jessie', 'Jim', 'Jimmy', 'Joan', 'Job', 'Joe', 'Joel', 'John', 'Johnny', 'Johnson', 'Johnston,', 'Jonah', 'Jonathan', 'Jones', 'Jonson', 'Jordan', 'Joseph', 'Josh', 'Joshua', 'Joule', 'Joyce', 'Judd', 'Judith', 'Judson', 'Julia', 'Julian', 'Juliana', 'Juliet', 'Julius', 'Katte', 'Katharine', 'Kathleen', 'Katrine', 'Keats', 'Kell,', 'Kellogg', 'Kelsen', 'Kelvin', 'Kennan', 'Kennedy', 'Keppel', 'Keynes', 'Kingsley', 'Kipling', 'Kit', 'Kitto', 'Kitty', 'Lamb', 'Lambert', 'Lancelot', 'Landon', 'Larkin', 'Lattimore', 'Laurie', 'Law', 'Lawrence', 'Lawson', 'Leacock', 'Lee', 'Leigh', 'Leighton', 'Lena', 'Leonard', 'Leopold', 'Lew', 'Lewis', 'Lily', 'Lincoln', 'Lindberg,', 'Lindsay', 'Lizzie', 'Lloyd', 'Locke', 'London', 'Longfellow', 'Longman', 'Lou,', 'Louis', 'Louisa', 'Louise', 'Lowell', 'Lucas', 'Lucia', 'Lucius', 'Lucy', 'Luke', 'Lyly', 'Lynch', 'Lynd', 'Lytton', 'MacAdam', 'MacArthur', 'Macaulay', 'MacDonald,', 'Mackintosh', 'MacMillan,', 'MacPherson,', 'Madge', 'Maggie', 'Malachi', 'Malan', 'Malory', 'Malthus', 'Maltz', 'Mansfield', 'Marcellus', 'Marcus', 'Margaret', 'Margery', 'Maria', 'Marion', 'Marjory', 'Mark', 'Marlowe', 'Marner', 'Marshall', 'Martha', 'Martin', 'Mary', 'Masefield', 'Mathilda', 'Matthew', 'Maud', 'Maugham', 'Maurice', 'Max', 'Maxwell', 'May', 'McCarthy', 'McDonald', 'Meg', 'Melville', 'Meredith', 'Micah', 'Michael', 'Michelson', 'Middleton', 'Mike', 'Mill', 'Milne', 'Milton', 'Minnie', 'Moll', 'Mond', 'Monroe', 'Montgomery', 'Moore', 'More', 'Morgan', 'Morley', 'Morris', 'Morrison', 'Morse', 'Morton', 'Moses', 'Motley', 'Moulton', 'Murray', 'Nahum', 'Nancy', 'Nathaniei', 'Needham', 'Nehemiah', 'Nell', 'Nelly', 'Nelson', 'Newman', 'Newton', 'Nicholas', 'Nichol,', 'Nick', 'Nico,', 'Nixon', 'Noah', 'Noel', 'Nora', 'Norris', 'North', 'Norton', 'Noyes', 'Obadiah', 'O’Casey', 'Occam', 'O’Connor', 'Oliver', 'O’Neil', 'Onions', 'Orlando', 'Oscar', 'Owen', 'Palmer', 'Pansy', 'Parker', 'Partridge', 'Pater', 'Patience', 'Patrick', 'Paul', 'Peacock', 'Pearson', 'Peg', 'Peggy', 'Penn', 'Pepys', 'Perkin', 'Peter', 'Petty', 'Philemon', 'Philip', 'Piers', 'Pigou', 'Pitman', 'Poe', 'Pollitt', 'Polly', 'Pope', 'Pound', 'Powell', 'Price', 'Priestley', 'Pritt', 'Pulitzer', 'Pullan', 'Pullman', 'Quiller', 'Raglan', 'Raleign', 'Ralph', 'Raman', 'Ramsden', 'Raphael', 'Rayleign', 'Raymond', 'Reade', 'Rebecca', 'Reed', 'Reynolds', 'Rhodes', 'Rhys', 'Ricardo', 'Richard', 'Richards', 'Richardson', 'Rob', 'Robbins', 'Robert', 'Robeson', 'Robin', 'Robinson', 'Rockefeller', 'Roger', 'Roland', 'Romeo', 'Roosevelt', 'Rosa', 'Rosalind', 'Rose', 'Rossetti', 'Roy', 'Rudolph,', 'Rusk', 'Ruskin', 'Russell', 'Ruth', 'Rutherford', 'Sainsbury', 'Sailsbury', 'Sally', 'Salome', 'Sam', 'Samson', 'Samuel', 'Sander', 'Sandy', 'Sapir', 'Sara,', 'Saroyan', 'Sassoon', 'Saul', 'Sawyer', 'Saxton', 'Scott', 'Scripps', 'Senior', 'Service', 'Shakespeare', 'Sharp', 'Shaw', 'Shelley', 'Sheridan', 'Sherwood', 'Sidney', 'Silas', 'Simon', 'Simpson', 'Sinclair', 'Smedley', 'Smith', 'Smollett', 'Snow', 'Sonmerfield', 'Sophia', 'Sophy', 'Southey', 'Spencer', 'Spender', 'Spenser', 'Springhall', 'Steele', 'Steinbeck', 'Stella', 'Stephen', 'Stephens', 'Stevenson', 'Stilwell', 'Stone', 'Stowe', 'Strachey', 'Strong', 'Stuart', 'Surrey', 'Susan', 'Susanna', 'Sweet', 'Swift', 'Swinburne', 'Symons', 'Tate', 'Taylor', 'Ted', 'Temple', 'Tennyson', 'Terry', 'Thackeray', 'Thodore', 'Theresa', 'Thomas', 'Thompson', 'Thomson', 'Thoreau', 'Thorndike', 'Timothy', 'Titus', 'Tobias', 'Toby', 'Toland', 'Tom', 'Tomlinson', 'Tommy', 'Tony', 'Tours', 'Tout', 'Toynbee', 'Tracy', 'Trevelyan', 'Trollpoe', 'Truman', 'Turner', 'Tuttle', 'Twain', 'Tyler', 'Ulysses', 'Valentine', 'Van', 'Vaughan', 'Veblen', 'Victor', 'Vincent', 'Violet', 'Virginia', 'Vogt', 'Wagner', 'Walker', 'Walkley', 'Wallace', 'Wallis', 'Walpole', 'Walsh', 'Walter', 'Walton', 'Ward', 'Warner', 'Warren', 'Washington', 'Wat', 'Waters', 'Watt', 'Webb', 'Webster', 'Wells', 'Wesley', 'Wheatley', 'Wheeler', 'Whit', 'Whitehead', 'Whitman', 'Whittier', 'Whyet', 'Wilcox', 'Wild', 'Wilde', 'Wilhelmina', 'Will', 'Willard', 'William', 'Wilmot,', 'Wilson', 'Windsor', 'Winifred', 'Wodehous', 'Wolf', 'Wollaston', 'Wood', 'Woolf', 'Woolley', 'Wordsworth', 'Wright', 'Wyat,', 'Wyclif,', 'Wyld,', 'Yale', 'Yeates', 'Yerkes', 'Young', 'Yule', 'Zacharias', 'Zangwill', 'Zechariah', 'Zephaniah', 'Zimmerman']
边栏推荐
猜你喜欢

Time series - use tsfresh for classification tasks

web测试学习笔记01

Introduction to JWT

Leetcode 226 flip binary tree (recursive)

Crmeb Pro v1.4 makes the user experience more brilliant!

For enterprise operation and maintenance security, use the cloud housekeeper fortress machine!

Coding skills - Global exception capture & unified return body & Business exception

DRF learning notes (I): Data Serialization

Collection! 0 basic open source data visualization platform flyfish large screen development guide

MySQL index
随机推荐
Introduction and use of redis
Filament Creator材质编辑工具的实现
Analysis of PHP keyword replacement classes (avoid repeated replacement, keep and restore the original links)
CCF-201312-1
Leetcode25 question: turn the linked list in a group of K -- detailed explanation of the difficult questions of the linked list
my_ls小结
重新配置cubemx后,生成的代码用IAR打开不成功
C channel simply implements the publishing and subscription of message queue
TSMC's 6-nanometer manufacturing process will enter trial production in the first quarter of next year
Pychart imports the existing local installation package
Implementation of ByteDance service grid based on Hertz framework
web测试学习笔记01
Two methods of generating excel table with PHP
C language programming (Third Edition)
Your password does not satisfy the current policy requirements (modify MySQL password policy setting simple password)
DEX and AMMS of DFI security
__ The difference between typeof and typeof
闲聊技巧
Find active SQL connections in SQL Server
2.2 basic elements of JMeter