aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/discovery.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-07-20 20:20:30 +0100
committerRemita Amine <remitamine@gmail.com>2019-07-20 20:20:53 +0100
commit3b446ab3519948980630e3328b971385826ffba8 (patch)
treedcc512101bfa16b947243a523aa684b44dfb9510 /youtube_dl/extractor/discovery.py
parent13a75688a55f32cde316b0f7d5992ff4a1f6d279 (diff)
[discovery] add support go.discovery.com URLs
Diffstat (limited to 'youtube_dl/extractor/discovery.py')
-rw-r--r--youtube_dl/extractor/discovery.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/discovery.py b/youtube_dl/extractor/discovery.py
index b70c307a7..9003545ce 100644
--- a/youtube_dl/extractor/discovery.py
+++ b/youtube_dl/extractor/discovery.py
@@ -19,9 +19,9 @@ from ..compat import compat_HTTPError
class DiscoveryIE(DiscoveryGoBaseIE):
_VALID_URL = r'''(?x)https?://
(?P<site>
+ (?:(?:www|go)\.)?discovery|
(?:www\.)?
(?:
- discovery|
investigationdiscovery|
discoverylife|
animalplanet|
@@ -56,6 +56,9 @@ class DiscoveryIE(DiscoveryGoBaseIE):
}, {
'url': 'https://www.investigationdiscovery.com/tv-shows/final-vision/full-episodes/final-vision',
'only_matching': True,
+ }, {
+ 'url': 'https://go.discovery.com/tv-shows/alaskan-bush-people/videos/follow-your-own-road',
+ 'only_matching': True,
}]
_GEO_COUNTRIES = ['US']
_GEO_BYPASS = False