X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fcorus.py;h=a1b2518047f8564df2dc74c9762cfcf1a8801493;hb=509bcec37ba26a8c7bc263cf8067495ec7cf120a;hp=9cdd3463670bdd6a0ba492ec1030b41f0ecc2de7;hpb=97fa1f8dc4df553624b76a3da2b00edc47744a16;p=youtube-dl diff --git a/youtube_dl/extractor/corus.py b/youtube_dl/extractor/corus.py index 9cdd34636..a1b251804 100644 --- a/youtube_dl/extractor/corus.py +++ b/youtube_dl/extractor/corus.py @@ -13,9 +13,9 @@ class CorusIE(ThePlatformFeedIE): (?:www\.)? (?P (?:globaltv|etcanada)\.com| - (?:hgtv|foodnetwork|slice|history)\.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\d+) ''' _TESTS = [{ @@ -39,6 +39,15 @@ class CorusIE(ThePlatformFeedIE): }, { 'url': 'http://www.history.ca/the-world-without-canada/video/full-episodes/natural-resources/video.html?v=955054659646#video', 'only_matching': True, + }, { + '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 = { @@ -66,6 +75,14 @@ class CorusIE(ThePlatformFeedIE): 'feed_id': 'tQFx_TyyEq4J', 'account_id': 2369613659, }, + 'showcase': { + 'feed_id': '9H6qyshBZU3E', + 'account_id': 2414426607, + }, + 'bigbrothercanada': { + 'feed_id': 'ChQqrem0lNUp', + 'account_id': 2269680845, + }, } def _real_extract(self, url):