projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
13a7568
)
[discovery] add support go.discovery.com URLs
author
Remita Amine
<remitamine@gmail.com>
Sat, 20 Jul 2019 19:20:30 +0000
(20:20 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 20 Jul 2019 19:20:53 +0000
(20:20 +0100)
youtube_dl/extractor/discovery.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/discovery.py
b/youtube_dl/extractor/discovery.py
index b70c307a75b520aa63e44fea69762cacc6bbc319..9003545cedfc70aee5c9bf8de64e455fa6275601 100644
(file)
--- 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>
class DiscoveryIE(DiscoveryGoBaseIE):
_VALID_URL = r'''(?x)https?://
(?P<site>
+ (?:(?:www|go)\.)?discovery|
(?:www\.)?
(?:
(?:www\.)?
(?:
- discovery|
investigationdiscovery|
discoverylife|
animalplanet|
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://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
}]
_GEO_COUNTRIES = ['US']
_GEO_BYPASS = False