projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a6d928
)
[xhamster] Fix uploader extraction
author
Sergey M․
<dstftw@gmail.com>
Fri, 8 Jan 2016 18:36:19 +0000
(
00:36
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 8 Jan 2016 18:36:19 +0000
(
00:36
+0600)
youtube_dl/extractor/xhamster.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xhamster.py
b/youtube_dl/extractor/xhamster.py
index c9108c345c786699b6c107f1598717c577c2770d..981ee284f78d1fcf4f7ed605604f8d5199dfe289 100644
(file)
--- a/
youtube_dl/extractor/xhamster.py
+++ b/
youtube_dl/extractor/xhamster.py
@@
-78,7
+78,7
@@
class XHamsterIE(InfoExtractor):
webpage, 'upload date', fatal=False))
uploader = self._html_search_regex(
- r
"<a href='[^']+xhamster\.com/user/[^>]+>(?P<uploader>[^<]+)"
,
+ r
'<span[^>]+itemprop=["\']author[^>]+><a[^>]+href=["\'].+?xhamster\.com/user/[^>]+>(?P<uploader>.+?)</a>'
,
webpage, 'uploader', default='anonymous')
thumbnail = self._search_regex(