[XHamsterIE] Fix HD video detection
authorrzhxeo <rzhxeot7z81b4700@mailcatch.com>
Sat, 7 Dec 2013 20:39:32 +0000 (21:39 +0100)
committerrzhxeo <rzhxeot7z81b4700@mailcatch.com>
Sat, 7 Dec 2013 20:39:32 +0000 (21:39 +0100)
youtube_dl/extractor/xhamster.py

index 279f75e7a1f5b860e81d955c33bb58fcea092cbc..0dd5e805c577b264fbfeedef9f3b78ad79305a2c 100644 (file)
@@ -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)