X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/ec85ded83cbfa652ba94cb080aab52d8b270212a..5d0968f0af3ce2a7da9a5f3098c6436f07c661aa:/youtube_dl/extractor/pinkbike.py 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 @@ def _real_extract(self, url): '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))