From 8ca6b8fba1ef0a2e221681a2deff3eea00f0fa35 Mon Sep 17 00:00:00 2001 From: rzhxeo Date: Sat, 7 Dec 2013 21:39:32 +0100 Subject: [PATCH] [XHamsterIE] Fix HD video detection --- youtube_dl/extractor/xhamster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def extract_video_url(webpage): return mobj.group('server')+'/key='+mobj.group('file') def is_hd(webpage): - return webpage.find('
') != -1 + return webpage.find('