projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4d9e67
)
[XHamsterIE] Fix HD video detection
author
rzhxeo
<rzhxeot7z81b4700@mailcatch.com>
Sat, 7 Dec 2013 20:39:32 +0000
(21:39 +0100)
committer
rzhxeo
<rzhxeot7z81b4700@mailcatch.com>
Sat, 7 Dec 2013 20:39:32 +0000
(21:39 +0100)
youtube_dl/extractor/xhamster.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xhamster.py
b/youtube_dl/extractor/xhamster.py
index 279f75e7a1f5b860e81d955c33bb58fcea092cbc..0dd5e805c577b264fbfeedef9f3b78ad79305a2c 100644
(file)
--- a/
youtube_dl/extractor/xhamster.py
+++ b/
youtube_dl/extractor/xhamster.py
@@
-46,7
+46,7
@@
class XHamsterIE(InfoExtractor):
return mobj.group('server')+'/key='+mobj.group('file')
def is_hd(webpage):
- return webpage.find('<div class=\'icon iconHD\'
>
') != -1
+ return webpage.find('<div class=\'icon iconHD\'') != -1
mobj = re.match(self._VALID_URL, url)