logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 4e3f1f0469b4f3c64cde7105729f9c3acfd3f679
parent 4bc15a68d1f7e2f38267081d3d764470da3439fa
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 23 Sep 2019 00:20:52 +0700

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

Diffstat:

Myoutube_dl/extractor/youtube.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py @@ -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(