Browse Source

[udemy] Fix non free course message

master
Sergey M․ 9 years ago
parent
commit
f20756fb10
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/udemy.py

2
youtube_dl/extractor/udemy.py

@ -41,7 +41,7 @@ class UdemyIE(InfoExtractor):
webpage, 'checkout url', group='url', default=None))
if checkout_url:
raise ExtractorError(
'Course %s is not free. You have to pay for it before you can download.'
'Course %s is not free. You have to pay for it before you can download. '
'Use this URL to confirm purchase: %s' % (course_id, checkout_url), expected=True)
enroll_url = unescapeHTML(self._search_regex(

Loading…
Cancel
Save