1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 01:52:52 +08:00

[youtube:playlist] Unescape playlist uploader (closes #22483)

This commit is contained in:
Sergey M․ 2019-09-23 00:20:52 +07:00
parent 4bc15a68d1
commit 4e3f1f0469
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -2740,7 +2740,7 @@ class YoutubePlaylistIE(YoutubePlaylistBaseInfoExtractor):
page, 'title', default=None)
_UPLOADER_BASE = r'class=["\']pl-header-details[^>]+>\s*<li>\s*<a[^>]+\bhref='
uploader = self._search_regex(
uploader = self._html_search_regex(
r'%s["\']/(?:user|channel)/[^>]+>([^<]+)' % _UPLOADER_BASE,
page, 'uploader', default=None)
mobj = re.search(