Replace colon with hash, for port numbers going to folder names.
This commit is contained in:
parent
f9e2c16d9a
commit
7417d8a45f
1 changed files with 1 additions and 0 deletions
|
@ -663,6 +663,7 @@ def download(
|
||||||
cur.execute('SELECT url FROM urls LIMIT 1')
|
cur.execute('SELECT url FROM urls LIMIT 1')
|
||||||
url = cur.fetchone()[0]
|
url = cur.fetchone()[0]
|
||||||
outputdir = url_split(url)['domain']
|
outputdir = url_split(url)['domain']
|
||||||
|
outputdir = outputdir.replace(':', '#')
|
||||||
|
|
||||||
if isinstance(bytespersecond, str):
|
if isinstance(bytespersecond, str):
|
||||||
bytespersecond = bytestring.parsebytes(bytespersecond)
|
bytespersecond = bytestring.parsebytes(bytespersecond)
|
||||||
|
|
Loading…
Reference in a new issue