]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[yahoo] make cbs URL suffix part of the media alias
authorRemita Amine <remitamine@gmail.com>
Thu, 31 Oct 2019 06:44:21 +0000 (07:44 +0100)
committerRemita Amine <remitamine@gmail.com>
Thu, 31 Oct 2019 06:44:21 +0000 (07:44 +0100)
youtube_dl/extractor/yahoo.py

index f041cf5de1136999efd0c795bb7847f3696587c0..b9a9e88a069edb6e50b18c7384847b3c71b82c27 100644 (file)
@@ -25,7 +25,7 @@ from .brightcove import BrightcoveNewIE
 
 class YahooIE(InfoExtractor):
     IE_DESC = 'Yahoo screen and movies'
-    _VALID_URL = r'(?P<url>https?://(?:(?P<country>[a-zA-Z]{2}(?:-[a-zA-Z]{2})?|malaysia)\.)?(?:[\da-zA-Z_-]+\.)?yahoo\.com/(?:[^/]+/)*(?P<id>[^?&#]*-[0-9]+)(?:-[a-z]+)?\.html)'
+    _VALID_URL = r'(?P<url>https?://(?:(?P<country>[a-zA-Z]{2}(?:-[a-zA-Z]{2})?|malaysia)\.)?(?:[\da-zA-Z_-]+\.)?yahoo\.com/(?:[^/]+/)*(?P<id>[^?&#]*-[0-9]+(?:-[a-z]+)?)\.html)'
     _TESTS = [{
         'url': 'http://screen.yahoo.com/julian-smith-travis-legg-watch-214727115.html',
         'info_dict': {