mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-07-18 00:45:26 +00:00
Fix duplicate video files with tag: "extended-description-mixed"
Fix duplicate video files with tag: "extended-description-mixed"
This commit is contained in:
parent
e35ac1c185
commit
e94fa0073f
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue