mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 17:26:51 +01:00
This commit is contained in:
parent
83548824c2
commit
a7ba57dc17
@ -144,7 +144,8 @@ class UdemyIE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(url, lecture_id)
|
webpage = self._download_webpage(url, lecture_id)
|
||||||
|
|
||||||
course_id = self._search_regex(
|
course_id = self._search_regex(
|
||||||
r'data-course-id=["\'](\d+)', webpage, 'course id')
|
(r'data-course-id=["\'](\d+)', r'"id": (\d+)'),
|
||||||
|
webpage, 'course id')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
lecture = self._download_lecture(course_id, lecture_id)
|
lecture = self._download_lecture(course_id, lecture_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user