tvpdownloader

Download episodes from vod.tvp.pl


License
MIT
Install
pip install tvpdownloader==0.5.0

Documentation

tvpdownloader

PyPi version

Download episodes from vod.tvp.pl

Install:

pip install tvpdownloader

Usage:

python3 tvpdownloader.py

Publishing:

python3 setup.py sdist
twine upload dist/tvpdownloader-0.1.0.tar.gz

Example:

from tvpdownloader import *

if __name__ == '__main__':
  # list of urls to download
  urls = [
    {"url": "https://vod.tvp.pl/video/rodzinkapl,odc1,3994796", "quality": 5},
    {"url": "https://vod.tvp.pl/video/rodzinkapl,odc-221,34842411", "quality": 5},
  ]

  for u in urls:
    # download each url
    print("Downloading: " + u['url'] + " Quality: " + str(u['quality']))
    TVPDownloader(url=u['url'], quality=u['quality']).get()

  print("Done!")