diff options
author | rzhxeo <[email protected]> | 2013-12-07 21:39:32 +0100 |
---|---|---|
committer | rzhxeo <[email protected]> | 2013-12-07 21:39:32 +0100 |
commit | 8ca6b8fba1ef0a2e221681a2deff3eea00f0fa35 (patch) | |
tree | a2ec2df0e43045e58119e23849ceeecf355ff4cd | |
parent | c4d9e6731a80cc1ce173d444920d49b424c62887 (diff) | |
download | youtube-dl-8ca6b8fba1ef0a2e221681a2deff3eea00f0fa35.tar.gz youtube-dl-8ca6b8fba1ef0a2e221681a2deff3eea00f0fa35.zip |
[XHamsterIE] Fix HD video detection
-rw-r--r-- | youtube_dl/extractor/xhamster.py | 2 |
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) |