mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[scrippsnetworks:watch] Add support for geniuskitchen.com
This commit is contained in:
parent
b21ab85088
commit
57eb45b111
1 changed files with 7 additions and 3 deletions
|
@ -20,10 +20,11 @@ class ScrippsNetworksWatchIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
watch\.
|
watch\.
|
||||||
(?P<site>hgtv|foodnetwork|travelchannel|diynetwork|cookingchanneltv)\.com/
|
(?P<site>hgtv|foodnetwork|travelchannel|diynetwork|cookingchanneltv|geniuskitchen)\.com/
|
||||||
(?:
|
(?:
|
||||||
player\.[A-Z0-9]+\.html\#|
|
player\.[A-Z0-9]+\.html\#|
|
||||||
show/(?:[^/]+/){2}
|
show/(?:[^/]+/){2}|
|
||||||
|
player/
|
||||||
)
|
)
|
||||||
(?P<id>\d+)
|
(?P<id>\d+)
|
||||||
'''
|
'''
|
||||||
|
@ -49,6 +50,9 @@ class ScrippsNetworksWatchIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://watch.diynetwork.com/player.HNT.html#2656646',
|
'url': 'http://watch.diynetwork.com/player.HNT.html#2656646',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'http://watch.geniuskitchen.com/player/3787617/Ample-Hills-Ice-Cream-Bike/',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
_SNI_TABLE = {
|
_SNI_TABLE = {
|
||||||
|
@ -57,7 +61,7 @@ class ScrippsNetworksWatchIE(InfoExtractor):
|
||||||
'foodnetwork': 'food',
|
'foodnetwork': 'food',
|
||||||
'cookingchanneltv': 'cook',
|
'cookingchanneltv': 'cook',
|
||||||
'travelchannel': 'trav',
|
'travelchannel': 'trav',
|
||||||
'geniuskitchen': 'geniuskitchen',
|
'geniuskitchen': 'genius',
|
||||||
}
|
}
|
||||||
_SNI_HOST = 'web.api.video.snidigital.com'
|
_SNI_HOST = 'web.api.video.snidigital.com'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue