1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 01:07:23 +08:00

Update teachable.py

This commit is contained in:
isatyabrata 2020-03-22 01:22:12 +05:30 committed by GitHub
parent c76cdf2382
commit 9066411aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ class TeachableCourseIE(TeachableBaseIE):
if not lecture_url:
continue
lecture_id = self._search_regex(
r'/lectures/(\d+)', lecture_url, 'lecture id', default=None)
r'/lectures/(\d+)', lecture_url, 'lecture-id', default=None)
title = self._html_search_regex(
r'<span[^>]+class=["\']lecture-name[^>]+>([^<]+)', li,
'title', default=None)