Compare commits

...

2 Commits

Author SHA1 Message Date
hmlb-no
1b6a0819da
Merge 7e5d48ea64dc4d4eb542144726aa1f67b768bfac into 2b4fbfce25902d557b86b003cf48f738129efce4 2025-03-26 06:50:11 +00:00
hmlb-no
7e5d48ea64
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?
2024-09-26 15:51:54 +02:00

View File

@ -6,7 +6,8 @@ from ..utils import update_url
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 = {
'url': 'https://oslo.kommunetv.no/archive/921',
'md5': '5f102be308ee759be1e12b63d5da4bbc',