mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-02 16:37:59 +09:00
Update kommunetv.py
Look at https://www.aventia.no/kommunetv/vare-kunder/ They are also in Sweeden. Here is a problem tho. https://stavanger.kommunetv.no/live/841 https://stavanger.kommunetv.no/archive/841 what if there is a live and a archive at the same time? how dose that work?
This commit is contained in:
parent
c5098961b0
commit
7e5d48ea64
@ -6,7 +6,8 @@ from ..utils import update_url
|
|||||||
|
|
||||||
|
|
||||||
class KommunetvIE(InfoExtractor):
|
class KommunetvIE(InfoExtractor):
|
||||||
_VALID_URL = r'https://(\w+).kommunetv.no/archive/(?P<id>\w+)'
|
_VALID_URL = r'https?://\w+\.kommun(?:etv\.no|\.tv)/(?:archive|live)/(?P<id>\w+)'
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://oslo.kommunetv.no/archive/921',
|
'url': 'https://oslo.kommunetv.no/archive/921',
|
||||||
'md5': '5f102be308ee759be1e12b63d5da4bbc',
|
'md5': '5f102be308ee759be1e12b63d5da4bbc',
|
||||||
|
Loading…
Reference in New Issue
Block a user