projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[generic] Unescape URLs from JWPlayer (#7582)
[youtube-dl]
/
youtube_dl
/
extractor
/
bloomberg.py
diff --git
a/youtube_dl/extractor/bloomberg.py
b/youtube_dl/extractor/bloomberg.py
index 0dca29b712c79a27fb621f094a6f64ab503ba3df..11ace91dd310b62b8071e2f5b4603c54c2f91d52 100644
(file)
--- a/
youtube_dl/extractor/bloomberg.py
+++ b/
youtube_dl/extractor/bloomberg.py
@@
-6,9
+6,9
@@
from .common import InfoExtractor
class BloombergIE(InfoExtractor):
class BloombergIE(InfoExtractor):
- _VALID_URL = r'https?://www\.bloomberg\.com/news/
videos
/[^/]+/(?P<id>[^/?#]+)'
+ _VALID_URL = r'https?://www\.bloomberg\.com/news/
[^/]+
/[^/]+/(?P<id>[^/?#]+)'
- _TEST
=
{
+ _TEST
S = [
{
'url': 'http://www.bloomberg.com/news/videos/b/aaeae121-5949-481e-a1ce-4562db6f5df2',
# The md5 checksum changes
'info_dict': {
'url': 'http://www.bloomberg.com/news/videos/b/aaeae121-5949-481e-a1ce-4562db6f5df2',
# The md5 checksum changes
'info_dict': {
@@
-17,7
+17,10
@@
class BloombergIE(InfoExtractor):
'title': 'Shah\'s Presentation on Foreign-Exchange Strategies',
'description': 'md5:a8ba0302912d03d246979735c17d2761',
},
'title': 'Shah\'s Presentation on Foreign-Exchange Strategies',
'description': 'md5:a8ba0302912d03d246979735c17d2761',
},
- }
+ }, {
+ 'url': 'http://www.bloomberg.com/news/articles/2015-11-12/five-strange-things-that-have-been-happening-in-financial-markets',
+ 'only_matching': True,
+ }]
def _real_extract(self, url):
name = self._match_id(url)
def _real_extract(self, url):
name = self._match_id(url)