fix minor urllist issues
This commit is contained in:
@@ -39,7 +39,7 @@ class DownloaderBase():
|
||||
def download(self, url, pathfmt):
|
||||
"""Download the resource at 'url' and write it to a file-like object"""
|
||||
try:
|
||||
self.download_impl(url, pathfmt)
|
||||
return self.download_impl(url, pathfmt)
|
||||
except Exception:
|
||||
print()
|
||||
raise
|
||||
|
||||
@@ -334,6 +334,9 @@ class TestJob(DownloadJob):
|
||||
self.update_keyword(keywords)
|
||||
self.update_content(url)
|
||||
|
||||
def handle_urllist(self, urls, keywords):
|
||||
self.handle_url(urls[0], keywords)
|
||||
|
||||
def handle_directory(self, keywords):
|
||||
self.update_keyword(keywords, False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user