diff options
author | wolfy1339 <[email protected]> | 2019-03-17 03:20:21 -0400 |
---|---|---|
committer | Sergey M <[email protected]> | 2019-03-17 14:20:21 +0700 |
commit | a63782b58117d651bc2d32edada2e795dfd9eb41 (patch) | |
tree | a206ed707583eb31516828b4c7bbef0522d1015b | |
parent | 0146c6cde6959a52287c26c99ce159128832246c (diff) | |
download | youtube-dl-a63782b58117d651bc2d32edada2e795dfd9eb41.tar.gz youtube-dl-a63782b58117d651bc2d32edada2e795dfd9eb41.zip |
[corus] Add support for bigbrothercanada.ca (#20357)
-rw-r--r-- | youtube_dl/extractor/corus.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/youtube_dl/extractor/corus.py b/youtube_dl/extractor/corus.py index 807a29eea..a1b251804 100644 --- a/youtube_dl/extractor/corus.py +++ b/youtube_dl/extractor/corus.py @@ -13,9 +13,9 @@ class CorusIE(ThePlatformFeedIE): (?:www\.)? (?P<domain> (?:globaltv|etcanada)\.com| - (?:hgtv|foodnetwork|slice|history|showcase)\.ca + (?:hgtv|foodnetwork|slice|history|showcase|bigbrothercanada)\.ca ) - /(?:video/|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=)) + /(?:video/(?:[^/]+/)?|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=)) (?P<id>\d+) ''' _TESTS = [{ @@ -42,6 +42,12 @@ class CorusIE(ThePlatformFeedIE): }, { 'url': 'http://www.showcase.ca/eyewitness/video/eyewitness++106/video.html?v=955070531919&p=1&s=da#video', 'only_matching': True, + }, { + 'url': 'http://www.bigbrothercanada.ca/video/1457812035894/', + 'only_matching': True + }, { + 'url': 'https://www.bigbrothercanada.ca/video/big-brother-canada-704/1457812035894/', + 'only_matching': True }] _TP_FEEDS = { @@ -73,6 +79,10 @@ class CorusIE(ThePlatformFeedIE): 'feed_id': '9H6qyshBZU3E', 'account_id': 2414426607, }, + 'bigbrothercanada': { + 'feed_id': 'ChQqrem0lNUp', + 'account_id': 2269680845, + }, } def _real_extract(self, url): |