diff options
author | pukkandan <pukkandan@gmail.com> | 2020-11-15 05:58:41 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-01-04 23:13:27 +0530 |
commit | a9e7f54670cad336ccb5e21fccfb87ea1e27df51 (patch) | |
tree | c123ac6a9514fb1b7779b42820a7e09fd359ce9a /youtube_dlc/downloader/common.py | |
parent | 76d321f68f412a5d07a7dfb9ad0c1c9f5513b13a (diff) |
Sponskrub integration
Diffstat (limited to 'youtube_dlc/downloader/common.py')
-rw-r--r-- | youtube_dlc/downloader/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dlc/downloader/common.py b/youtube_dlc/downloader/common.py index 7d303be1c..a0acb6556 100644 --- a/youtube_dlc/downloader/common.py +++ b/youtube_dlc/downloader/common.py @@ -351,7 +351,7 @@ class FileDownloader(object): 'status': 'finished', 'total_bytes': os.path.getsize(encodeFilename(filename)), }) - return True + return True, False if subtitle is False: min_sleep_interval = self.params.get('sleep_interval') @@ -372,7 +372,7 @@ class FileDownloader(object): '[download] Sleeping %s seconds...' % ( sleep_interval_sub)) time.sleep(sleep_interval_sub) - return self.real_download(filename, info_dict) + return self.real_download(filename, info_dict), True def real_download(self, filename, info_dict): """Real download process. Redefine in subclasses.""" |