aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-06-13 23:27:27 +0700
committerSergey M․ <dstftw@gmail.com>2017-06-13 23:27:27 +0700
commitb5dc33daa96fd59ed5e0dc38cb5bb5157433a72b (patch)
tree09ac48db83797b8d1457b3b725367411a7824eb4 /youtube_dl
parent97fa1f8dc4df553624b76a3da2b00edc47744a16 (diff)
[corus] Add support for showcase.ca
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/corus.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/youtube_dl/extractor/corus.py b/youtube_dl/extractor/corus.py
index 9cdd34636..807a29eea 100644
--- a/youtube_dl/extractor/corus.py
+++ b/youtube_dl/extractor/corus.py
@@ -13,7 +13,7 @@ class CorusIE(ThePlatformFeedIE):
(?:www\.)?
(?P<domain>
(?:globaltv|etcanada)\.com|
- (?:hgtv|foodnetwork|slice|history)\.ca
+ (?:hgtv|foodnetwork|slice|history|showcase)\.ca
)
/(?:video/|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=))
(?P<id>\d+)
@@ -39,6 +39,9 @@ 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,
}]
_TP_FEEDS = {
@@ -66,6 +69,10 @@ class CorusIE(ThePlatformFeedIE):
'feed_id': 'tQFx_TyyEq4J',
'account_id': 2369613659,
},
+ 'showcase': {
+ 'feed_id': '9H6qyshBZU3E',
+ 'account_id': 2414426607,
+ },
}
def _real_extract(self, url):