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

pull/8/head
Sergey M․ 5 years ago
parent 4bc15a68d1
commit 4e3f1f0469
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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(

Loading…
Cancel
Save