1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00: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(