From: rzhxeo Date: Sat, 7 Dec 2013 20:39:32 +0000 (+0100) Subject: [XHamsterIE] Fix HD video detection X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8ca6b8fba1ef0a2e221681a2deff3eea00f0fa35;p=youtube-dl [XHamsterIE] Fix HD video detection --- 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('
') != -1 + return webpage.find('