mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[XHamsterIE] Fix HD video detection
This commit is contained in:
		@@ -46,7 +46,7 @@ class XHamsterIE(InfoExtractor):
 | 
				
			|||||||
                return mobj.group('server')+'/key='+mobj.group('file')
 | 
					                return mobj.group('server')+'/key='+mobj.group('file')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        def is_hd(webpage):
 | 
					        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)
 | 
					        mobj = re.match(self._VALID_URL, url)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user