mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 01:01:39 +00:00
[XHamsterIE] Fix HD video detection
This commit is contained in:
parent
c4d9e6731a
commit
8ca6b8fba1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue