Skip to content

Update script for new urls from the websites #1

Open
@noahsmindfuck

Description

The url's have changed. Apparently the url from the script
'url': 'https://stream.wien.gv.at/live/ngrp:bv' + district_str_lz + '.stream_all/playlist.m3u8'
is not valid anymore or at least not for all streams (needs to be tested).

one example link looks like this:
src="https://z4atvie10swse101.rtccdn.com/pidbv/smil:pidbv_1060.smil/playlist.m3u8"

also, one was able to view the stream here so maybe that is another valid source:
https://pidbv.justlive.tv/player.php?stream=bv1060

TODO:

  • use the next dates of the bv sessions to capture the possible live stream urls
  • write a regexp that validates the url parametes against the districts array, maybe add possibel parameters/strings like 'bv', 'm3u8', etc to an array to check the url against
  • maybe use python requests to figure out which kind of url we have and to navigate to the respective and maybe even updating links to the streams
  • rewrite the capture function on those streams

Possible help:

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions