mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[corus] Add support for showcase.ca
This commit is contained in:
parent
97fa1f8dc4
commit
b5dc33daa9
@ -13,7 +13,7 @@ class CorusIE(ThePlatformFeedIE):
|
|||||||
(?:www\.)?
|
(?:www\.)?
|
||||||
(?P<domain>
|
(?P<domain>
|
||||||
(?:globaltv|etcanada)\.com|
|
(?:globaltv|etcanada)\.com|
|
||||||
(?:hgtv|foodnetwork|slice|history)\.ca
|
(?:hgtv|foodnetwork|slice|history|showcase)\.ca
|
||||||
)
|
)
|
||||||
/(?:video/|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=))
|
/(?:video/|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=))
|
||||||
(?P<id>\d+)
|
(?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',
|
'url': 'http://www.history.ca/the-world-without-canada/video/full-episodes/natural-resources/video.html?v=955054659646#video',
|
||||||
'only_matching': True,
|
'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 = {
|
_TP_FEEDS = {
|
||||||
@ -66,6 +69,10 @@ class CorusIE(ThePlatformFeedIE):
|
|||||||
'feed_id': 'tQFx_TyyEq4J',
|
'feed_id': 'tQFx_TyyEq4J',
|
||||||
'account_id': 2369613659,
|
'account_id': 2369613659,
|
||||||
},
|
},
|
||||||
|
'showcase': {
|
||||||
|
'feed_id': '9H6qyshBZU3E',
|
||||||
|
'account_id': 2414426607,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user