On 2022-04-13T23:49:26+0200, Reino Wijnsma <rwijn...@xs4all.nl> wrote: > Or minified: > > $ xidel -s "http://www.freeintertv.com/view/id-2565" -e > 'x:request({"post":request-combine((),{"chname":string-to-base64Binary(extract(//meta[@property="og:image"]/@content,"([a-z_]+)\.jpg",1)),"ch":"http://www.freeintertv.com/externals/tv-russia/smotret-tv3-online","html5":"11"})/substring(url,2),"url":"http://www.freeintertv.com/myAjax/get_item_m3u8/"})/extract(raw,"http.+m3u8")' Alternatively, instead of using x:request() in-query, you could use the command-line option --post / -d, which I guess more resembles curl:
$ xidel -s -d '{request-combine((),{"chname":string-to-base64Binary(doc("http://www.freeintertv.com/view/id-2565")//meta[@property="og:image"]/extract(@content,"([a-z_]+)\.jpg",1)),"ch":"http://www.freeintertv.com/externals/tv-russia/smotret-tv3-online","html5":"11"})/substring(url,2)}' "http://www.freeintertv.com/myAjax/get_item_m3u8/" -e 'extract($raw,"http.+m3u8")' $ xidel -s \ -d '{ request-combine( (), { "chname":string-to-base64Binary( doc("http://www.freeintertv.com/view/id-2565")//meta[@property="og:image"]/ extract(@content,"([a-z_]+)\.jpg",1) ), "ch":"http://www.freeintertv.com/externals/tv-russia/smotret-tv3-online", "html5":"11" } )/substring(url,2) }' \ "http://www.freeintertv.com/myAjax/get_item_m3u8/" \ -e 'extract($raw,"http.+m3u8")' -- Reino _______________________________________________ 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".