forked from 0x2620/oxjs
fix geo tools wikipedia module
This commit is contained in:
parent
126fb3956e
commit
80ad054cfa
5 changed files with 414 additions and 2546 deletions
|
|
@ -340,7 +340,7 @@ def get_country_data(url):
|
|||
def get_country_flag_url(code, url):
|
||||
html = read_url(url)
|
||||
results = re.compile('<div class="fullImageLink" id="file"><a href="(.*?)"', re.DOTALL).findall(html)
|
||||
url = results[0]
|
||||
url = 'http:' + results[0]
|
||||
return url
|
||||
|
||||
def get_country_urls():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue