mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 03:32:05 +00:00
parent
c67b33888f
commit
58f7ada235
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue