[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 @@ def _extract_playlist(self, playlist_id):
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(