We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 466bf03 commit 6252ee2Copy full SHA for 6252ee2
downloader.py
@@ -1,8 +1,10 @@
1
import requests
2
from tqdm import tqdm
3
import os
4
+import logging
5
6
from downloadqueue import DownloadQueue
7
+logging.basicConfig(level=logging.INFO)
8
9
10
class Downloader:
@@ -75,7 +77,7 @@ def _download_episode_queue(self, db):
75
77
fullpath = self._full_path(destination_filename)
76
78
79
if self.fs.path_exists(fullpath):
- print("target file exists! " + fullpath)
80
+ logging.info("Target file already exists: %s", fullpath)
81
else:
82
try:
83
self.download_impl(episode, destination_filename)
0 commit comments