aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/go.py
diff options
context:
space:
mode:
authorJamKage <JamKage@users.noreply.github.com>2020-12-27 17:36:21 +0000
committerGitHub <noreply@github.com>2020-12-27 17:36:21 +0000
commit794771a164009ff94046c98d8a7d45f7706547af (patch)
treed1184abd1515593bce8e5bb602e3030e62714a4d /youtube_dl/extractor/go.py
parent6f2eaaf73daef3ac0995cd7b51c677b003c04218 (diff)
downloadyoutube-dl-794771a164009ff94046c98d8a7d45f7706547af.tar.xz
[go] Added support for FXNetworks (#26826)
Co-authored-by: James Kirrage <james.kirrage@mortgagegym.com> closes #13972 closes #22467 closes #23754
Diffstat (limited to 'youtube_dl/extractor/go.py')
-rw-r--r--youtube_dl/extractor/go.py21
1 files changed, 19 insertions, 2 deletions
diff --git a/youtube_dl/extractor/go.py b/youtube_dl/extractor/go.py
index 03cfba91f..0d731e90a 100644
--- a/youtube_dl/extractor/go.py
+++ b/youtube_dl/extractor/go.py
@@ -38,13 +38,17 @@ class GoIE(AdobePassIE):
'disneynow': {
'brand': '011',
'resource_id': 'Disney',
- }
+ },
+ 'fxnow.fxnetworks': {
+ 'brand': '025',
+ 'requestor_id': 'dtci',
+ },
}
_VALID_URL = r'''(?x)
https?://
(?:
(?:(?P<sub_domain>%s)\.)?go|
- (?P<sub_domain_2>abc|freeform|disneynow)
+ (?P<sub_domain_2>abc|freeform|disneynow|fxnow\.fxnetworks)
)\.com/
(?:
(?:[^/]+/)*(?P<id>[Vv][Dd][Kk][Aa]\w+)|
@@ -100,6 +104,19 @@ class GoIE(AdobePassIE):
'skip_download': True,
},
}, {
+ 'url': 'https://fxnow.fxnetworks.com/shows/better-things/video/vdka12782841',
+ 'info_dict': {
+ 'id': 'VDKA12782841',
+ 'ext': 'mp4',
+ 'title': 'First Look: Better Things - Season 2',
+ 'description': 'md5:fa73584a95761c605d9d54904e35b407',
+ },
+ 'params': {
+ 'geo_bypass_ip_block': '3.244.239.0/24',
+ # m3u8 download
+ 'skip_download': True,
+ },
+ }, {
'url': 'http://abc.go.com/shows/the-catch/episode-guide/season-01/10-the-wedding',
'only_matching': True,
}, {