Help adding a url to a channel

Is it possible to add a url somehow? I’ve searched but can’t seem to find info for adding something like this.

1 Like

You’ll need to use chrome dev tools to figure out the video url. But most local news places use tech that rotates the video url in that, even if the url you get works now, it won’t work later.

This one(KTRK) is listed in https://raw.githubusercontent.com/iptv-org/iptv/master/streams/us_local.m3u

https://content.uplynk.com/channel/ext/1efe3bfc4d1e4b5db5e5085a535b510b/ktrk_24x7_news.m3u8

Firefox has a really nice add-on for stream detection The Stream Detector – Get this Extension for 🦊 Firefox (en-US)

This is a Firefox addon which provides an easy way to keep track of URLs to playlists and subtitles used by Apple HLS, Adobe HDS, MPEG-DASH, and Microsoft Smooth Streaming streams as well as download video/audio files directly and monitor any other file extensions and Content-Type headers.

Copy URLs by clicking their filenames in the addon's popup menu (accessed by clicking on the toolbar icon). URLs can either be copied as they are or transformed into readymade yt-dlp (recommended), FFmpeg, Streamlink, hlsdl or N_m3u8DL-CLI commands, including the User-Agent, Cookie, and Referer headers. The chosen tool then downloads the stream into a single file until it is finished or stopped. Use the addon's options page to customize your experience and e.g. download media files directly.

Note that websites such as YouTube, Vimeo, Facebook, etc. are very likely to use proprietary technologies which are not supported by this addon. When it comes to such "mainstream" services, it's better to use the tools (e.g. youtube-dl/yt-dlp) directly.

Edit: The video in question, without any filtering on the URL: (You can strip off all the variables and get just the m3u like sdust shows)

https://content.uplynk.com/channel/ext/1efe3bfc4d1e4b5db5e5085a535b510b/ktrk_24x7_news.m3u8?ad._v=2&ad.preroll=0&ad.fill_slate=1&ad.ametr=1&ad.vid=otv-11316949&platform=web&ad.tag=&ad.vast3=1&ad.v=2&ad.tfcd=0&ad.is_lat=0&ad.npa=0&ad.correlator=50364&ad=ktrk_live&ad.adUnit=/ktrk/abc13.com/web/live-broadcast-news&ad.pp=datg-live-vdms&ad.description_url=https%3A//abc13.com/watch/live/&ad.url=https%3A//abc13.com/watch/live/&ad.sz=640x480&ad.ppid=2FC4D0FF49E24A33CAAECF426C3C1B30&prbd.server=drax&ad.prbd=drax&station=ktrk&id=11065010&key=otv.web.ktrk.player&ad.cust_params=accesslevel%3D0%26beacTyp%3Dssai%26isAuth%3D0%26aff%3Dktrk%26lang%3Den%26ait%3Dssai%26chan%3Dmisc%26objid%3D%26isAutoplay%3D1%26isDnt%3D0%26isMute%3D0%26pgtyp%3Dwatch%26vdm%3Dlive%26plt%3Ddesktop%26stp%3Dvdms%26swid%3D2FC4D0FF49E24A33CAAECF426C3C1B30%26dtci_yxbk%3D%26var%3D16x9%26vps%3D640x360%26noad%3D0%26refDomain%3Dhttps%253A//abc13.com/watch/live/%26unid%3D%26tvid%3D

streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --http-header "Referer=https://abc13.com/" -o "ktrk_24x7_news.ts" "https://content.uplynk.com/channel/ext/1efe3bfc4d1e4b5db5e5085a535b510b/ktrk_24x7_news.m3u8?ad._v=2&ad.preroll=0&ad.fill_slate=1&ad.ametr=1&ad.vid=otv-11316949&platform=web&ad.tag=&ad.vast3=1&ad.v=2&ad.tfcd=0&ad.is_lat=0&ad.npa=0&ad.correlator=50364&ad=ktrk_live&ad.adUnit=/ktrk/abc13.com/web/live-broadcast-news&ad.pp=datg-live-vdms&ad.description_url=https%3A//abc13.com/watch/live/&ad.url=https%3A//abc13.com/watch/live/&ad.sz=640x480&ad.ppid=2FC4D0FF49E24A33CAAECF426C3C1B30&prbd.server=drax&ad.prbd=drax&station=ktrk&id=11065010&key=otv.web.ktrk.player&ad.cust_params=accesslevel%3D0%26beacTyp%3Dssai%26isAuth%3D0%26aff%3Dktrk%26lang%3Den%26ait%3Dssai%26chan%3Dmisc%26objid%3D%26isAutoplay%3D1%26isDnt%3D0%26isMute%3D0%26pgtyp%3Dwatch%26vdm%3Dlive%26plt%3Ddesktop%26stp%3Dvdms%26swid%3D2FC4D0FF49E24A33CAAECF426C3C1B30%26dtci_yxbk%3D%26var%3D16x9%26vps%3D640x360%26noad%3D0%26refDomain%3Dhttps%253A//abc13.com/watch/live/%26unid%3D%26tvid%3D" best

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.