From 242a37a26f5d94c7355ad363d7945d4461155f04 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Sun, 17 Mar 2019 02:56:48 -0400 Subject: [PATCH] Support video title in url --- youtube_dl/extractor/corus.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/corus.py b/youtube_dl/extractor/corus.py index 19bc2334b..a99fc263f 100644 --- a/youtube_dl/extractor/corus.py +++ b/youtube_dl/extractor/corus.py @@ -15,7 +15,7 @@ class CorusIE(ThePlatformFeedIE): (?:globaltv|etcanada)\.com| (?:hgtv|foodnetwork|slice|history|showcase|bigbrothercanada)\.ca ) - /(?:video/|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=)) + /(?:(?:video/[a-z0-9-]+/)|video/|(?:[^/]+/)+(?:videos/[a-z0-9-]+-|video\.html\?.*?\bv=)) (?P\d+) ''' _TESTS = [{ @@ -45,6 +45,9 @@ class CorusIE(ThePlatformFeedIE): }, { '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 = {