Skip to main content

Download episodes from vod.tvp.pl

Project description

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!")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvpdownloader-0.5.0.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page