mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-19 20:10:09 +09:00
parent
c67b33888f
commit
58f7ada235
@ -269,7 +269,7 @@ class TeachableCourseIE(TeachableBaseIE):
|
|||||||
r'(?s)(?P<li><li[^>]+class=(["\'])(?:(?!\2).)*?section-item[^>]+>.+?</li>)',
|
r'(?s)(?P<li><li[^>]+class=(["\'])(?:(?!\2).)*?section-item[^>]+>.+?</li>)',
|
||||||
webpage):
|
webpage):
|
||||||
li = mobj.group('li')
|
li = mobj.group('li')
|
||||||
if 'fa-youtube-play' not in li:
|
if 'fa-youtube-play' not in li and not re.search(r'\d{1,2}:\d{2}', li):
|
||||||
continue
|
continue
|
||||||
lecture_url = self._search_regex(
|
lecture_url = self._search_regex(
|
||||||
r'<a[^>]+href=(["\'])(?P<url>(?:(?!\1).)+)\1', li,
|
r'<a[^>]+href=(["\'])(?P<url>(?:(?!\1).)+)\1', li,
|
||||||
|
Loading…
Reference in New Issue
Block a user