mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:47:08 -05:00 
			
		
		
		
	[xhamsterembed] Fix extraction (closes #14308)
This commit is contained in:
		@@ -221,7 +221,7 @@ class XHamsterEmbedIE(InfoExtractor):
 | 
			
		||||
        webpage = self._download_webpage(url, video_id)
 | 
			
		||||
 | 
			
		||||
        video_url = self._search_regex(
 | 
			
		||||
            r'href="(https?://xhamster\.com/movies/%s/[^"]*\.html[^"]*)"' % video_id,
 | 
			
		||||
            r'href="(https?://xhamster\.com/(?:movies/{0}/[^"]*\.html|videos/[^/]*-{0})[^"]*)"'.format(video_id),
 | 
			
		||||
            webpage, 'xhamster url', default=None)
 | 
			
		||||
 | 
			
		||||
        if not video_url:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user