aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrzhxeo <rzhxeot7z81b4700@mailcatch.com>2013-12-07 21:39:32 +0100
committerrzhxeo <rzhxeot7z81b4700@mailcatch.com>2013-12-07 21:39:32 +0100
commit8ca6b8fba1ef0a2e221681a2deff3eea00f0fa35 (patch)
treea2ec2df0e43045e58119e23849ceeecf355ff4cd
parentc4d9e6731a80cc1ce173d444920d49b424c62887 (diff)
[XHamsterIE] Fix HD video detection
-rw-r--r--youtube_dl/extractor/xhamster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py
index 279f75e7a..0dd5e805c 100644
--- 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)