diff options
author | Remita Amine <remitamine@gmail.com> | 2019-10-31 07:44:21 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-10-31 07:44:21 +0100 |
commit | 3cf70bf1590ce364dc223197ba804cb70e704760 (patch) | |
tree | 337f932cb4d2227fbafec8a2a3afe43eb09fccf1 | |
parent | 237513e801671a51cc45d6a2fe5e7df69517958e (diff) |
[yahoo] make cbs URL suffix part of the media alias
-rw-r--r-- | youtube_dl/extractor/yahoo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py index f041cf5de..b9a9e88a0 100644 --- a/youtube_dl/extractor/yahoo.py +++ b/youtube_dl/extractor/yahoo.py @@ -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': { |