![]() ![]() It would be the easiest way to do what you want though if you have better luck than me. The uncurl Python library is meant to turn cURL command lines into requests calls, but I could never get it to work. This person worked out how their site works from top-to-bottom and the result is you don't even need anything from the website other than the URL of an episode. However, since the license server doesn't seem to impose a time limit, you can skip parsing the manifest yourself and just download the encrypted episode in its entirety with yt-dlp or whatever first using the manifest URL, then read out the PSSH from the encrypted audio file - something like - and then make the license request. I didn't bother to attempt the manifest download part for this site, but I did confirm the PSSH is in the audio init segment. The "proper" way to do it (as done by the site itself): you need the manifest URL (which you have because you copied it from your browser or you managed to replicate the requests the site makes to the ITV API in your script) from it, you need to find the audio initialization segment, strip off the manifest filename from the manifest URL, append the BaseURL part to the URL and then the segment name, download said segment and then find the pssh box in the segment. Is everybody else getting similar?įor this site, that takes a bit of work. That is crappy 896x504 around 1400K with the godawful 96Kbps audio. All I'm getting is exactly what ITV Hub was. All the advertising hype about it was claiming it will be glorious 1080p. I'd love python code where you simply input the CURL into my script and it does the conversion for you, returning with a string (instead of having to do it manually).īack to ITVX. All4, Disc+) that require you to get the CURL(bash), input into a CURL to Python convertor. I'd love to know how to scrape that PSSH value using code within my script instead of manually having to copy/paste it.Īnother one I'd like to automate. One thing I haven't worked out how to do yet, if anybody could help or contact me. ![]() I'm trying to automate my python scripts for all the UK TV webplayers. It's actually the same method as it has been for Britbox. I'd already sussed it out, mine's similar to your method. Much, much more! - many minor improvements, like custom naming schemes, an option to force MP4 downloads, better cancellation, priority flags, etc.Good info for others to follow so thanks for that.Option to Go Menu-Only - the long-awaited ability to run It just in the menu bar has finally arrived.Customizable Postprocessing - you can now write your shell script to handle custom postprocessing.Improved User-Guided Extraction - the UGE window now has history, allows saving favorites, and much more.Metadata Improvements - the metadata that it gathers can be written into an external JSON file for further custom processing.Sandbox - This program is now sandboxed for better security.Significant speed improvements - several links can now be loaded at once, and YouTube videos get prepared for downloads about 6x faster than in its previous version (based on the time required to process a 30-item YouTube playlist on iMac 27" (2019)).Updated UI - the UI has been revised and updated, offering more options at the tip of the mouse.If your language is missing, contact us - we can offer you a free license in exchange for a translation. International - It supports country-specific sites and is localized into various languages.Frequent updates - Don't wait weeks for new sites to be supported or bugs to be fixed! It is updated monthly with new features, sites supported, etc.Quick support - I respond to emails usually within 24 hours and often add support for requested sites in the next update. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |