mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-29 21:52:54 +00:00
[udemy] Fix typo
This commit is contained in:
parent
f5bc4b5f95
commit
3092fc4035
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ class UdemyIE(InfoExtractor):
|
||||||
# Error could possibly mean we are not enrolled in the course
|
# Error could possibly mean we are not enrolled in the course
|
||||||
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 403:
|
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 403:
|
||||||
self._enroll_course(webpage, course_id)
|
self._enroll_course(webpage, course_id)
|
||||||
lecture_id = self._download_lecture(course_id, lecture_id)
|
lecture = self._download_lecture(course_id, lecture_id)
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue