Code Monkey home page Code Monkey logo

ustvgo_downloader's Introduction

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

ustvgo_downloader's People

Contributors

interlark avatar soylentgoneplaid avatar 17hoehbr avatar liniuta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.