From: Sergey M․ Date: Tue, 14 Feb 2017 19:08:32 +0000 (+0700) Subject: [pinkbike] Fix uploader extraction (closes #12054) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=3021cf83b7cd45283fd1a72859e46f44e67ce7bf;p=youtube-dl [pinkbike] Fix uploader extraction (closes #12054) --- diff --git a/youtube_dl/extractor/pinkbike.py b/youtube_dl/extractor/pinkbike.py index 6a4580d54..9f3501f77 100644 --- a/youtube_dl/extractor/pinkbike.py +++ b/youtube_dl/extractor/pinkbike.py @@ -64,7 +64,8 @@ class PinkbikeIE(InfoExtractor): 'video:duration', webpage, 'duration')) uploader = self._search_regex( - r'un:\s*"([^"]+)"', webpage, 'uploader', fatal=False) + r']+\brel=["\']author[^>]+>([^<]+)', webpage, + 'uploader', fatal=False) upload_date = unified_strdate(self._search_regex( r'class="fullTime"[^>]+title="([^"]+)"', webpage, 'upload date', fatal=False))