mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 07:02:52 +08:00
Added foodnetwork and hgtv to be in discovery
This commit is contained in:
parent
b99b0bcfa0
commit
946a70f42c
@ -17,7 +17,7 @@ from ..compat import compat_HTTPError
|
|||||||
|
|
||||||
|
|
||||||
class DiscoveryIE(DiscoveryGoBaseIE):
|
class DiscoveryIE(DiscoveryGoBaseIE):
|
||||||
_VALID_URL = r'''(?x)https?://(?:www\.)?(?P<site>
|
_VALID_URL = r'''(?x)https?://(?:www\.|watch\.)?(?P<site>
|
||||||
discovery|
|
discovery|
|
||||||
investigationdiscovery|
|
investigationdiscovery|
|
||||||
discoverylife|
|
discoverylife|
|
||||||
@ -26,7 +26,9 @@ class DiscoveryIE(DiscoveryGoBaseIE):
|
|||||||
destinationamerica|
|
destinationamerica|
|
||||||
sciencechannel|
|
sciencechannel|
|
||||||
tlc|
|
tlc|
|
||||||
velocity
|
velocity|
|
||||||
|
foodnetwork|
|
||||||
|
hgtv
|
||||||
)\.com(?P<path>/tv-shows/[^/]+/(?:video|full-episode)s/(?P<id>[^./?#]+))'''
|
)\.com(?P<path>/tv-shows/[^/]+/(?:video|full-episode)s/(?P<id>[^./?#]+))'''
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.discovery.com/tv-shows/cash-cab/videos/dave-foley',
|
'url': 'https://www.discovery.com/tv-shows/cash-cab/videos/dave-foley',
|
||||||
|
@ -19,7 +19,7 @@ class ScrippsNetworksWatchIE(AWSIE):
|
|||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
watch\.
|
watch\.
|
||||||
(?P<site>hgtv|foodnetwork|travelchannel|diynetwork|cookingchanneltv|geniuskitchen)\.com/
|
(?P<site>travelchannel|diynetwork|cookingchanneltv|geniuskitchen)\.com/
|
||||||
(?:
|
(?:
|
||||||
player\.[A-Z0-9]+\.html\#|
|
player\.[A-Z0-9]+\.html\#|
|
||||||
show/(?:[^/]+/){2}|
|
show/(?:[^/]+/){2}|
|
||||||
|
Loading…
Reference in New Issue
Block a user