Fix duplicate video files with tag: "extended-description-mixed"

Fix duplicate video files with tag: "extended-description-mixed"
This commit is contained in:
MOHAMEDELDAKDOUKY 2021-03-07 01:31:19 +02:00
parent e35ac1c185
commit e94fa0073f

View file

@ -321,6 +321,12 @@ class NativeDownloader(Downloader):
logging.info('Resume downloading %s -> %s', url, filename)
else:
logging.info('Downloading %s -> %s', url, filename)
edm_flag = 'extended-description-mixed'
if edm_flag in filename:
logging.warn('########## This file is an "extended-description-mixed" file, SKIPPED...')
return False
max_attempts = 3
attempts_count = 0