Add logging support to JSON download function in update_mongo.py
This commit is contained in:
+1
-1
@@ -327,7 +327,7 @@ def main() -> int:
|
||||
else:
|
||||
url_template = TVMAZE_URLS["showurl"]
|
||||
seriesid = file.replace('.json', '')
|
||||
json_downloader.download_json_to_file(url_template.replace("<seriesid>", str(seriesid)), directory, f'{seriesid}.json')
|
||||
json_downloader.download_json_to_file(url_template.replace("<seriesid>", str(seriesid)), directory, f'{seriesid}.json', lprint)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user