]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/pinkbike.py
Fix extraction from youtube.
[youtubedl] / youtube_dl / extractor / pinkbike.py
index 6a4580d54c8733166316c80a2361499e85eb9baf..9f3501f7770fa93fb54fc19ff554e64c6d8da25f 100644 (file)
@@ -64,7 +64,8 @@ class PinkbikeIE(InfoExtractor):
             'video:duration', webpage, 'duration'))
 
         uploader = self._search_regex(
             'video:duration', webpage, 'duration'))
 
         uploader = self._search_regex(
-            r'un:\s*"([^"]+)"', webpage, 'uploader', fatal=False)
+            r'<a[^>]+\brel=["\']author[^>]+>([^<]+)', webpage,
+            'uploader', fatal=False)
         upload_date = unified_strdate(self._search_regex(
             r'class="fullTime"[^>]+title="([^"]+)"',
             webpage, 'upload date', fatal=False))
         upload_date = unified_strdate(self._search_regex(
             r'class="fullTime"[^>]+title="([^"]+)"',
             webpage, 'upload date', fatal=False))