Skip to content

Commit

Permalink
Update kommunetv.py
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
hmlb-no authored Sep 26, 2024
1 parent c509896 commit 7e5d48e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion youtube_dl/extractor/kommunetv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


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',
Expand Down

0 comments on commit 7e5d48e

Please sign in to comment.