mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
parent
fbbdf475b1
commit
fa41fbd318
1 changed files with 2 additions and 4 deletions
|
@ -1710,9 +1710,7 @@ class YoutubePlaylistIE(InfoExtractor):
|
||||||
(?:
|
(?:
|
||||||
(?:course|view_play_list|my_playlists|artist|playlist|watch)
|
(?:course|view_play_list|my_playlists|artist|playlist|watch)
|
||||||
\? (?:.*?&)*? (?:p|a|list)=
|
\? (?:.*?&)*? (?:p|a|list)=
|
||||||
| user/.*?/user/
|
|
||||||
| p/
|
| p/
|
||||||
| user/.*?#[pg]/c/
|
|
||||||
)
|
)
|
||||||
((?:PL|EC|UU)?[0-9A-Za-z-_]{10,})
|
((?:PL|EC|UU)?[0-9A-Za-z-_]{10,})
|
||||||
.*
|
.*
|
||||||
|
@ -3796,7 +3794,7 @@ def _real_extract(self, url):
|
||||||
_title = r"""<title>(.*)</title>"""
|
_title = r"""<title>(.*)</title>"""
|
||||||
|
|
||||||
mobj = re.search(_title, webpage_src)
|
mobj = re.search(_title, webpage_src)
|
||||||
|
|
||||||
if mobj is not None:
|
if mobj is not None:
|
||||||
title = mobj.group(1)
|
title = mobj.group(1)
|
||||||
else:
|
else:
|
||||||
|
@ -3814,7 +3812,7 @@ def _real_extract(self, url):
|
||||||
if mobj is not None:
|
if mobj is not None:
|
||||||
title = mobj.group(1)
|
title = mobj.group(1)
|
||||||
thumbnail = None
|
thumbnail = None
|
||||||
|
|
||||||
results = [{
|
results = [{
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'url' : video_url,
|
'url' : video_url,
|
||||||
|
|
Loading…
Reference in a new issue