projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f535ec8
)
[xhamster] flake8
author
Sergey M․
<dstftw@gmail.com>
Wed, 5 Aug 2015 17:08:55 +0000
(23:08 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 5 Aug 2015 17:08:55 +0000
(23:08 +0600)
youtube_dl/extractor/xhamster.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xhamster.py
b/youtube_dl/extractor/xhamster.py
index f76ee8fd425dc743ef7f15f3de8a70b2e404c917..97315750fd59198022a72eca53482efdd8d98e75 100644
(file)
--- a/
youtube_dl/extractor/xhamster.py
+++ b/
youtube_dl/extractor/xhamster.py
@@
-81,7
+81,7
@@
class XHamsterIE(InfoExtractor):
thumbnail = self._search_regex(
[r'''thumb\s*:\s*(?P<q>["'])(?P<thumbnail>.+?)(?P=q)''',
r'''<video[^>]+poster=(?P<q>["'])(?P<thumbnail>.+?)(?P=q)[^>]*>'''],
-
webpage, 'thumbnail', fatal=False, group='thumbnail')
+ webpage, 'thumbnail', fatal=False, group='thumbnail')
duration = parse_duration(self._html_search_regex(r'<span>Runtime:</span> (\d+:\d+)</div>',
webpage, 'duration', fatal=False))