mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 02:32:44 +01:00
[generic] Remove Vulture embed detection
Vulture.com videos now hosts on YouTube, Vimeo, MTV, NBC News or Hulu. Here's an example of Hulu: http://www.vulture.com/2016/06/kimmel-interviews-mariah-carey-in-a-bathtub.html
This commit is contained in:
parent
de3eb07ed6
commit
cc4444662c
@ -1857,14 +1857,6 @@ def _playlist_from_matches(matches, getter=None, ie=None):
|
|||||||
url = unescapeHTML(mobj.group('url'))
|
url = unescapeHTML(mobj.group('url'))
|
||||||
return self.url_result(url)
|
return self.url_result(url)
|
||||||
|
|
||||||
# Look for embedded vulture.com player
|
|
||||||
mobj = re.search(
|
|
||||||
r'<iframe src="(?P<url>https?://video\.vulture\.com/[^"]+)"',
|
|
||||||
webpage)
|
|
||||||
if mobj is not None:
|
|
||||||
url = unescapeHTML(mobj.group('url'))
|
|
||||||
return self.url_result(url, ie='Vulture')
|
|
||||||
|
|
||||||
# Look for embedded mtvservices player
|
# Look for embedded mtvservices player
|
||||||
mtvservices_url = MTVServicesEmbeddedIE._extract_url(webpage)
|
mtvservices_url = MTVServicesEmbeddedIE._extract_url(webpage)
|
||||||
if mtvservices_url:
|
if mtvservices_url:
|
||||||
|
Loading…
Reference in New Issue
Block a user