projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a7412
)
[pinkbike] Fix uploader extraction (closes #12054)
author
Sergey M․
<dstftw@gmail.com>
Tue, 14 Feb 2017 19:08:32 +0000
(
02:08
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 14 Feb 2017 19:08:32 +0000
(
02:08
+0700)
youtube_dl/extractor/pinkbike.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pinkbike.py
b/youtube_dl/extractor/pinkbike.py
index 6a4580d54c8733166316c80a2361499e85eb9baf..9f3501f7770fa93fb54fc19ff554e64c6d8da25f 100644
(file)
--- 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'<a[^>]+\brel=["\']author[^>]+>([^<]+)', webpage,
+ 'uploader', fatal=False)
upload_date = unified_strdate(self._search_regex(
r'class="fullTime"[^>]+title="([^"]+)"',
webpage, 'upload date', fatal=False))