mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 23:32:33 +00:00
[youtube] Improve multifeed videos extraction (Closes #8536)
This commit is contained in:
parent
9d939cec48
commit
6863631c26
1 changed files with 5 additions and 2 deletions
|
@ -1196,9 +1196,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
if not self._downloader.params.get('noplaylist'):
|
if not self._downloader.params.get('noplaylist'):
|
||||||
entries = []
|
entries = []
|
||||||
feed_ids = []
|
feed_ids = []
|
||||||
multifeed_metadata_list = compat_urllib_parse_unquote_plus(video_info['multifeed_metadata_list'][0])
|
multifeed_metadata_list = video_info['multifeed_metadata_list'][0]
|
||||||
for feed in multifeed_metadata_list.split(','):
|
for feed in multifeed_metadata_list.split(','):
|
||||||
feed_data = compat_parse_qs(feed)
|
# Unquote should take place before split on comma (,) since textual
|
||||||
|
# fields may contain comma as well (see
|
||||||
|
# https://github.com/rg3/youtube-dl/issues/8536)
|
||||||
|
feed_data = compat_parse_qs(compat_urllib_parse_unquote_plus(feed))
|
||||||
entries.append({
|
entries.append({
|
||||||
'_type': 'url_transparent',
|
'_type': 'url_transparent',
|
||||||
'ie_key': 'Youtube',
|
'ie_key': 'Youtube',
|
||||||
|
|
Loading…
Reference in a new issue