1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

don't catch YT user URLs in YoutubePlaylistIE (fix #754, fix #763)

This commit is contained in:
Filippo Valsorda 2013-03-31 03:02:05 +02:00
parent fbbdf475b1
commit fa41fbd318

View File

@ -1710,9 +1710,7 @@ class YoutubePlaylistIE(InfoExtractor):
(?:
(?:course|view_play_list|my_playlists|artist|playlist|watch)
\? (?:.*?&)*? (?:p|a|list)=
| user/.*?/user/
| p/
| user/.*?#[pg]/c/
)
((?:PL|EC|UU)?[0-9A-Za-z-_]{10,})
.*
@ -3796,7 +3794,7 @@ class WorldStarHipHopIE(InfoExtractor):
_title = r"""<title>(.*)</title>"""
mobj = re.search(_title, webpage_src)
if mobj is not None:
title = mobj.group(1)
else:
@ -3814,7 +3812,7 @@ class WorldStarHipHopIE(InfoExtractor):
if mobj is not None:
title = mobj.group(1)
thumbnail = None
results = [{
'id': video_id,
'url' : video_url,