A feature-rich command-line audio/video downloader
[XHamsterIE] Fix HD video detection
rzhxeo8ca6b8fba1ef
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.pyindex 279f75e7a1..0dd5e805c5 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\'') != -1mobj = re.match(self._VALID_URL, url)