aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorVietTPham <pham.t.viet@gmail.com>2018-02-17 05:54:52 -0800
committerSergey M <dstftw@gmail.com>2018-02-17 20:54:52 +0700
commit38662dfec7309fc1692f4fa85ccc67537590b240 (patch)
tree915a1948d0d960b4ff6958129a61fe0d8ca90ef4 /youtube_dl
parentee706f1009a90e9911f31d01aa9eae41cc34e75b (diff)
[fusion] Add support for fusion.tv
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/fusion.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/fusion.py b/youtube_dl/extractor/fusion.py
index ede729b52..25e284d46 100644
--- a/youtube_dl/extractor/fusion.py
+++ b/youtube_dl/extractor/fusion.py
@@ -5,9 +5,9 @@ from .ooyala import OoyalaIE
class FusionIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?fusion\.net/video/(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:www\.)?fusion\.(?:net|tv)/video/(?P<id>\d+)'
_TESTS = [{
- 'url': 'http://fusion.net/video/201781/u-s-and-panamanian-forces-work-together-to-stop-a-vessel-smuggling-drugs/',
+ 'url': 'http://fusion.tv/video/201781/u-s-and-panamanian-forces-work-together-to-stop-a-vessel-smuggling-drugs/',
'info_dict': {
'id': 'ZpcWNoMTE6x6uVIIWYpHh0qQDjxBuq5P',
'ext': 'mp4',
@@ -20,7 +20,7 @@ class FusionIE(InfoExtractor):
},
'add_ie': ['Ooyala'],
}, {
- 'url': 'http://fusion.net/video/201781',
+ 'url': 'http://fusion.tv/video/201781',
'only_matching': True,
}]