1
0
Fork 0
forked from 0x2620/oxjs

fix geo tools wikipedia module

This commit is contained in:
rolux 2011-10-12 02:14:05 +02:00
commit 80ad054cfa
5 changed files with 414 additions and 2546 deletions

View file

@ -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():