Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
2 additions and
1 deletions
-
youtube_dl/extractor/udemy.py
|
@ -84,7 +84,8 @@ class UdemyIE(InfoExtractor): |
|
|
if enroll_url: |
|
|
if enroll_url: |
|
|
webpage = self._download_webpage( |
|
|
webpage = self._download_webpage( |
|
|
combine_url(base_url, enroll_url), |
|
|
combine_url(base_url, enroll_url), |
|
|
course_id, 'Enrolling in the course') |
|
|
|
|
|
|
|
|
course_id, 'Enrolling in the course', |
|
|
|
|
|
headers={'Referer': base_url}) |
|
|
if '>You have enrolled in' in webpage: |
|
|
if '>You have enrolled in' in webpage: |
|
|
self.to_screen('%s: Successfully enrolled in the course' % course_id) |
|
|
self.to_screen('%s: Successfully enrolled in the course' % course_id) |
|
|
|
|
|
|
|
|