use a random title if title extraction fails
This commit is contained in:
parent
04644364e2
commit
960e86327e
@ -290,6 +290,10 @@ def download_url(url):
|
||||
# well, at least save the contents from the original url
|
||||
pass
|
||||
|
||||
# make the title again just in case
|
||||
if not title:
|
||||
title = "%0.2x" % random.getrandbits(128)
|
||||
|
||||
# can't create directories
|
||||
title = title.replace("/", "_")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user