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

Errors When Using #2

Closed ghost closed 2 years ago

ghost commented 2 years ago

I ran npm install --global @warren-bank/node-hls-downloader-tubitv

And it works but how exactly do I use it because I run tubidl in the command promp in the directory and it isn't recognized.

Do I have to run the .bat or .sh files in the tests folder?

ghost commented 2 years ago

Update Fixed That Issue but now when I run tubidl -mc 5 -u and than my url it gives me this error.

Error: Error: parsing JSON metadata for series video stream in server response at URL: 'https://tubitv.com/series/4718/lego-ninjago-masters-of-spinjitzu' at process_html (C:\Users\Admin\AppData\Roaming\npm\node_modules\@warren-bank\node-hls-downloader-tubitv\lib\process_cli.js:90:13) at process_url (C:\Users\Admin\AppData\Roaming\npm\node_modules\@warren-bank\node-hls-downloader-tubitv\lib\process_cli.js:66:11) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async process_argv (C:\Users\Admin\AppData\Roaming\npm\node_modules\@warren-bank\node-hls-downloader-tubitv\lib\process_cli.js:337:7)

warren-bank commented 2 years ago

that was my bad..

warren-bank commented 2 years ago

PS:

1) update your globally installed package:

     npm update --global @warren-bank/node-hls-downloader-tubitv

2) confirm that you're now running the correct version (ie: '1.3.3')

     tubidl --version

3) ??? 4) profit..

     tubidl -mc 5 -u "https://tubitv.com/series/4718/lego-ninjago-masters-of-spinjitzu"