]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[generic] Remove Vulture embed detection
authorYen Chi Hsuan <yan12125@gmail.com>
Fri, 10 Jun 2016 05:33:59 +0000 (13:33 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Fri, 10 Jun 2016 05:40:57 +0000 (13:40 +0800)
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

youtube_dl/extractor/generic.py

index 36a3d91fce7eedad116b811db42faa17ba418a5a..798c109c6f7dc739ff30de85ad4d64c2072a8e3d 100644 (file)
@@ -1857,14 +1857,6 @@ class GenericIE(InfoExtractor):
             url = unescapeHTML(mobj.group('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
         mtvservices_url = MTVServicesEmbeddedIE._extract_url(webpage)
         if mtvservices_url: