Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patkub/tvpdownloader
Download episodes from vod.tvp.pl pypi package
https://github.com/patkub/tvpdownloader
Last synced: 24 days ago
JSON representation
Download episodes from vod.tvp.pl pypi package
- Host: GitHub
- URL: https://github.com/patkub/tvpdownloader
- Owner: patkub
- License: mit
- Created: 2018-06-02T21:23:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-05T19:06:59.000Z (over 6 years ago)
- Last Synced: 2024-09-21T17:58:49.590Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tvpdownloader
[![PyPi version](https://img.shields.io/pypi/v/tvpdownloader.svg)](https://pypi.org/project/tvpdownloader/)> Download episodes from vod.tvp.pl
### Install:
```sh
pip install tvpdownloader
```### Usage:
```sh
python3 tvpdownloader.py
```### Publishing:
```sh
python3 setup.py sdist
twine upload dist/tvpdownloader-0.1.0.tar.gz
```### Example:
```python
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!")
```