remove space
This commit is contained in:
parent
b689a4013b
commit
6ee9e92a8e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def get_countries():
|
|||
# List of sovereign states
|
||||
html = read_wikipedia_url('List of sovereign states')
|
||||
matches = re.compile('> </span><a href="/wiki/(.*?)"', re.DOTALL).findall(html)
|
||||
countries += filter(lambda x: not exists(x) and not exclude(x) , map(lambda x: parse(x), matches))
|
||||
countries += filter(lambda x: not exists(x) and not exclude(x), map(lambda x: parse(x), matches))
|
||||
'''
|
||||
for year in range(1970, 2020, 10):
|
||||
html = read_wikipedia_url('List of sovereign states in the %ds' % year)
|
||||
|
|
Loading…
Reference in a new issue