mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube:playlist] fix bug
This commit is contained in:
parent
ae8f99e648
commit
46953e7e6e
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||||
|
|
||||||
_RESERVED_NAMES = (
|
_RESERVED_NAMES = (
|
||||||
r'channel|c|user|browse|playlist|watch|w|v|embed|e|watch_popup|'
|
r'channel|c|user|browse|playlist|watch|w|v|embed|e|watch_popup|'
|
||||||
r'movies|results|shared|hashtag|trending|feed|feeds|oembed|'
|
r'movies|results|shared|hashtag|trending|feed|feeds|oembed|get_video_info|'
|
||||||
r'storefront|oops|index|account|reporthistory|t/terms|about|upload|signin|logout')
|
r'storefront|oops|index|account|reporthistory|t/terms|about|upload|signin|logout')
|
||||||
|
|
||||||
_NETRC_MACHINE = 'youtube'
|
_NETRC_MACHINE = 'youtube'
|
||||||
|
@ -3838,7 +3838,7 @@ def suitable(cls, url):
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
playlist_id = self._match_id(url)
|
playlist_id = self._match_id(url)
|
||||||
is_music_url = self.is_music_url(url)
|
is_music_url = YoutubeBaseInfoExtractor.is_music_url(url)
|
||||||
url = update_url_query(
|
url = update_url_query(
|
||||||
'https://www.youtube.com/playlist',
|
'https://www.youtube.com/playlist',
|
||||||
parse_qs(url) or {'list': playlist_id})
|
parse_qs(url) or {'list': playlist_id})
|
||||||
|
|
Loading…
Reference in a new issue