On 2022-01-08T18:34:34+0100, Bo Berglund <bo.bergl...@gmail.com> wrote:
> and the other working much better had the stream url:
> https://1111296894.rsc.cdn77.org/LS-ATL-54548-10/tracks-v1a1/mono.m3u8
>
> [...]
>
> This 2:nd URL I could only find by using Firefox in F12 mode when playing, so 
> it
> was completely manual. Not good when it changes often..
If that url starts working again, then there are 3 places to find it in the 
HTML-source, which you can extract with the HTML- and JSON-parser Xidel:

$ xidel -s "https://msnbcdailyshows.com/"; -f "(//iframe)[2]/@src" -e '
  //meta[@property="og:description"]/normalize-space(@content),          (: #1 
:)
  normalize-space(//div[@class="post-body entry-content"]),              (: #2 
:)
  parse-json(                                                            (: #3 
:)
    replace(
      //script/extract(.,"_WidgetManager._SetDataContext\((.+)\);",1),
      "\\\x","\\\u00"
    ),
    {"liberal":true()}
  )()[name="view"]/data/normalize-space(description)
'
https://1111296894.rsc.cdn77.org/LS-ATL-54548-10/playlist.m3u8
https://1111296894.rsc.cdn77.org/LS-ATL-54548-10/playlist.m3u8
https://1111296894.rsc.cdn77.org/LS-ATL-54548-10/playlist.m3u8

On 2022-01-08T20:10:29+0100, Bo Berglund <bo.bergl...@gmail.com> wrote:
> This tool xidel you use, from where is that?
> How can it be installed?
https://www.videlibri.de/xidel.html

I'm using the Windows binary in a Bash environment, but last I heared quite 
some Linux packagemanagers also have it, though most likely not the latest 
build 
<https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%20development/>.

-- 
Reino Wijnsma

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to