projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c9e12a6
)
[bellmedia] add support for bnnbloomberg.ca(#16560)
author
Remita Amine
<remitamine@gmail.com>
Sun, 27 May 2018 11:11:53 +0000
(12:11 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sun, 27 May 2018 11:11:53 +0000
(12:11 +0100)
youtube_dl/extractor/bellmedia.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bellmedia.py
b/youtube_dl/extractor/bellmedia.py
index 8820a391468e7a6ecb168704eddf416fdc34ede4..f36a2452d4e9aba89dde708e3bd51ada35ada301 100644
(file)
--- a/
youtube_dl/extractor/bellmedia.py
+++ b/
youtube_dl/extractor/bellmedia.py
@@
-12,7
+12,7
@@
class BellMediaIE(InfoExtractor):
(?:
ctv|
tsn|
(?:
ctv|
tsn|
- bnn|
+ bnn
(?:bloomberg)?
|
thecomedynetwork|
discovery|
discoveryvelocity|
thecomedynetwork|
discovery|
discoveryvelocity|
@@
-27,17
+27,16
@@
class BellMediaIE(InfoExtractor):
much\.com
)/.*?(?:\bvid(?:eoid)?=|-vid|~|%7E|/(?:episode)?)(?P<id>[0-9]{6,})'''
_TESTS = [{
much\.com
)/.*?(?:\bvid(?:eoid)?=|-vid|~|%7E|/(?:episode)?)(?P<id>[0-9]{6,})'''
_TESTS = [{
- 'url': 'http
://www.ctv.ca/video/player?vid=706966
',
- 'md5': '
ff2ebbeae0aa2dcc32a830c3fd69b7b
0',
+ 'url': 'http
s://www.bnnbloomberg.ca/video/david-cockfield-s-top-picks~1403070
',
+ 'md5': '
36d3ef559cfe8af8efe15922cd3ce95
0',
'info_dict': {
'info_dict': {
- 'id': '
706966
',
- 'ext': '
mp4
',
- 'title': '
Larry Day and Richard Jutras on the TIFF red carpet of \'Stonewall\'
',
- 'description': '
etalk catches up with Larry Day and Richard Jutras on the TIFF red carpet of "Stonewall”.
',
- 'upload_date': '201
50919
',
- 'timestamp': 1
4426247
00,
+ 'id': '
1403070
',
+ 'ext': '
flv
',
+ 'title': '
David Cockfield\'s Top Picks
',
+ 'description': '
md5:810f7f8c6a83ad5b48677c3f8e5bb2c3
',
+ 'upload_date': '201
80525
',
+ 'timestamp': 1
5272886
00,
},
},
- 'expected_warnings': ['HTTP Error 404'],
}, {
'url': 'http://www.thecomedynetwork.ca/video/player?vid=923582',
'only_matching': True,
}, {
'url': 'http://www.thecomedynetwork.ca/video/player?vid=923582',
'only_matching': True,
@@
-70,6
+69,7
@@
class BellMediaIE(InfoExtractor):
'investigationdiscovery': 'invdisc',
'animalplanet': 'aniplan',
'etalk': 'ctv',
'investigationdiscovery': 'invdisc',
'animalplanet': 'aniplan',
'etalk': 'ctv',
+ 'bnnbloomberg': 'bnn',
}
def _real_extract(self, url):
}
def _real_extract(self, url):