found another getUrl
This commit is contained in:
parent
cff20af4e7
commit
3aad9feb47
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def saveUrl(url, filename, overwrite=False):
|
|||
dirname = os.path.dirname(filename)
|
||||
if not os.path.exists(dirname):
|
||||
os.makedirs(dirname)
|
||||
data = getUrl(url)
|
||||
data = readUrl(url)
|
||||
f = open(filename, 'w')
|
||||
f.write(data)
|
||||
f.close()
|
||||
|
|
Loading…
Reference in a new issue