1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 18:34:32 +01:00

[udemy] Fix non free course message

This commit is contained in:
Sergey M․ 2016-01-06 00:03:39 +06:00
parent 17b2d7ca77
commit f20756fb10

View File

@ -41,7 +41,7 @@ class UdemyIE(InfoExtractor):
webpage, 'checkout url', group='url', default=None)) webpage, 'checkout url', group='url', default=None))
if checkout_url: if checkout_url:
raise ExtractorError( 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) 'Use this URL to confirm purchase: %s' % (course_id, checkout_url), expected=True)
enroll_url = unescapeHTML(self._search_regex( enroll_url = unescapeHTML(self._search_regex(