]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube:playlist] Unescape playlist uploader (closes #22483)
authorSergey M․ <dstftw@gmail.com>
Sun, 22 Sep 2019 17:20:52 +0000 (00:20 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 22 Sep 2019 17:20:52 +0000 (00:20 +0700)
youtube_dl/extractor/youtube.py

index f002d870e1fea8e5830208e1e6be0e16e499465c..f3f0bf8dbc3e8d2ef8a706cc845c294acab1d80c 100644 (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(