Skip to content

efraindelarocha/ustvgo_downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playlist downloader for ustvgo.tv

Installation

Script uses Selenium & Firefox (Gecko driver), so make sure you've installed Firefox browser on your computer, all the rest get installed automatically.

git clone https://github.com/interlark/ustvgo_downloader
cd ustvgo_downloader
pip3 install -r requirements.txt

Usage

It's not required, since you can use the already existing playlist

python3 download.py
[1/81] Successfully collected link for GSN
[2/81] Successfully collected link for LIFETIME MOVIES
[3/81] Successfully collected link for ANIMAL PLANET
[4/81] Successfully collected link for NBC SPORTS
...
  • Use update.py to update authentication key:

Every key is valid for 4 hours

python3 update.py
Recieved key: c2VakmPyX...aW52dRVzoTI1MA==
Updating ustvgo.m3u8 playlist...
  • Play collected playlist:
vlc ustvgo.m3u8 --adaptive-use-access

Troubleshooting

  • If you run script on dedicated headless server and bump into erros like Failed to collect link - seems like you don't have AVC codecs installed on your server, try install them with
sudo apt-get install ubuntu-restricted-extras

if you have ubuntu server installed or commonly

sudo apt-get install libavcodec58 libav-tools
  • If you get errors and now guessing what's going wrong, try to run script with --no-headless argument to see what's going on in the browser
python3 download.py --no-headless

or

python3 update.py --no-headless

Tips

  • In case if you're not a native speaker and use TV, Cartoons, Movies and Shows to learn the language - on some channels you can turn on subtitles that make it easier pretty much.

Subtitles screenshot

About

USTVGO Playlist Downloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%