diff options
author | Remita Amine <remitamine@gmail.com> | 2020-01-06 14:25:23 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2020-01-06 14:25:54 +0100 |
commit | 0264903574f78ef5d950081a1afa542f6a063157 (patch) | |
tree | 79033708dc06472c95a03c88e9d1ca7f169c6fb7 /youtube_dl/extractor/scrippsnetworks.py | |
parent | 2f7aa680b79b60d707d7b09818e3ec55748448b2 (diff) |
[scrippsnetworks] add support for www.discovery.com videos
Diffstat (limited to 'youtube_dl/extractor/scrippsnetworks.py')
-rw-r--r-- | youtube_dl/extractor/scrippsnetworks.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/scrippsnetworks.py b/youtube_dl/extractor/scrippsnetworks.py index afab9591d..36e1b67a9 100644 --- a/youtube_dl/extractor/scrippsnetworks.py +++ b/youtube_dl/extractor/scrippsnetworks.py @@ -106,7 +106,7 @@ class ScrippsNetworksWatchIE(AWSIE): class ScrippsNetworksIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?(?P<site>cookingchanneltv|(?:diy|food)network|hgtv|travelchannel)\.com/videos/[0-9a-z-]+-(?P<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?(?P<site>cookingchanneltv|discovery|(?:diy|food)network|hgtv|travelchannel)\.com/videos/[0-9a-z-]+-(?P<id>\d+)' _TESTS = [{ 'url': 'https://www.cookingchanneltv.com/videos/the-best-of-the-best-0260338', 'info_dict': { @@ -131,9 +131,13 @@ class ScrippsNetworksIE(InfoExtractor): }, { 'url': 'https://www.travelchannel.com/videos/two-climates-one-bag-5302184', 'only_matching': True, + }, { + 'url': 'https://www.travelchannel.com/videos/two-climates-one-bag-5302184', + 'only_matching': True, }] _ACCOUNT_MAP = { 'cookingchanneltv': 2433005105, + 'discovery': 2706091867, 'diynetwork': 2433004575, 'foodnetwork': 2433005105, 'hgtv': 2433004575, |