From: Sergey M․ Date: Wed, 30 Dec 2015 19:09:21 +0000 (+0600) Subject: [udemy] Fix typo X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3092fc4035dd3a0841a92227e9bd80b7b9e4d871;p=youtube-dl [udemy] Fix typo --- diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py index 59832b1ec..ce7e211fc 100644 --- a/youtube_dl/extractor/udemy.py +++ b/youtube_dl/extractor/udemy.py @@ -147,7 +147,7 @@ class UdemyIE(InfoExtractor): # Error could possibly mean we are not enrolled in the course if isinstance(e.cause, compat_HTTPError) and e.cause.code == 403: self._enroll_course(webpage, course_id) - lecture_id = self._download_lecture(course_id, lecture_id) + lecture = self._download_lecture(course_id, lecture_id) else: raise