warren-bank / node-hls-downloader-tubitv

Command-line utility for downloading an offline copy of TubiTV HLS video streams.
GNU General Public License v2.0
64 stars 8 forks source link

Assertion Error: Missing Data Fields in Video Object Metadata for Movie Video Stream In Server Response #10

Closed DebianJK closed 8 months ago

DebianJK commented 8 months ago

Download via bash script error: Error: Assertion Error: missing data fields in video object metadata for movie video stream in server response at URL: 'https://tubitv.com/movies/580545/priest' at process_video_data (/usr/local/lib/node_modules/@warren-bank/node-hls-downloader-tubitv/lib/process_cli.js:167:15) at process_html (/usr/local/lib/node_modules/@warren-bank/node-hls-downloader-tubitv/lib/process_cli.js:105:15) at process_url (/usr/local/lib/node_modules/@warren-bank/node-hls-downloader-tubitv/lib/process_cli.js:67:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async process_argv (/usr/local/lib/node_modules/@warren-bank/node-hls-downloader-tubitv/lib/process_cli.js:379:7)

In addition, the following URL also produced similar error: https://tubitv.com/movies/522096/stealth https://tubitv.com/movies/642405/colombiana https://tubitv.com/movies/100015519/xxx

Bash Script: tubidl --directory-prefix /usr/local/download -mf 1 -mc 3 --url $URL

With kind regards

warren-bank commented 8 months ago

I haven't looked at this repo in a very long time, but just quickly looking at your video examples:

Suffice it to say, videos having its "content unavailable" cannot be accessed.

Videos having DRM protection cannot be downloaded by this utility because it doesn't support DRM protected HLS streams. If you want to see all of the available DRM protected HLS streams and possibly download them using a different utility, my Greasemonkey userscript for TubiTV will display that information.

DebianJK commented 8 months ago

I was able to watch: https://tubitv.com/movies/642405/colombiana https://tubitv.com/movies/100015519/xxx using Firefox (Debian 11.9 Cinnamon GUI) but not able to download using tubidl.

warren-bank commented 8 months ago

recently?

I've loaded both pages in Chrome and FF.. and all it shows me is "content unavailable".

Are you in the US? Maybe I'm geo-restricted (being that I'm in the US), whereas you're not?

Although I highly doubt this would matter.. what is the "User-Agent" of your FF?

DebianJK commented 8 months ago

User-Agent: "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" I am in Canada! Colombiana

warren-bank commented 8 months ago

I'll test a VPN..

warren-bank commented 8 months ago

OK.. that was the problem. "User-Agent" had nothing to do with it.

Using a VPN to make TubiTV think that I'm also in Canada.. I was able to watch both movies (Colombiana and XXX).

The issue with downloading these movies is DRM. Both of these movies are DRM protected. (Refer to previous comments about DRM.)

DebianJK commented 8 months ago

If you want to see all of the available DRM protected HLS streams and possibly download them using a different utility

Okay! Do you know of any other utility able to download DRM protected streams from https://tubitv.com?

warren-bank commented 8 months ago

short answer: no

longer answer: the utility doesn't need to specifically be for TubiTV.. you can get all of the relevant URLs from my userscript.. and plug them into the generic utility.. I'm just not aware (off-hand) of any generic utility that will convert HLS+DRM to MP4.

DebianJK commented 8 months ago

Thanks!

warren-bank commented 8 months ago

https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom

..does not look easy

DebianJK commented 8 months ago

Well! At least someone is trying....Goodnight!