Browse Source

[discovery] add support go.discovery.com URLs

master
Remita Amine 5 years ago
parent
commit
3b446ab351
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      youtube_dl/extractor/discovery.py

+ 4
- 1
youtube_dl/extractor/discovery.py View File

@ -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


Loading…
Cancel
Save