Skip to content

Commit

Permalink
Update downloaders.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dakdouky committed Mar 6, 2021
1 parent 10ba6b8 commit 593e93c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions coursera/downloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@ def _start_download(self, url, filename, resume=False):
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
error_msg = ''
Expand Down

0 comments on commit 593e93c

Please sign in to comment.