Download videos from Ipla.tv, Vod and other Polish video platforms.
- Ipla.tv
- Vod
- Vod.tvp.pl
- Polsat News
- TVN24
- PolskieRadio.pl
- Radio ZET
- RMF 24
- Tokfm.pl
- TVP INFO
- TVP Parlament
Make sure you have ffmpeg installed, since sometimes it's necessary to convert the downloaded video to mp4
format.
You also need Python 3.6 or higher installed on your device.
To install RTVdownloader, simply use pipenv (or pip, of course):
pipenv install rtv-downloader
rtv https://vod.tvp.pl/video/warto-rozmawiac,30112017,34760315
You can also read links from text files
rtv -f urls.txt urls2.txt
Onetab support
rtv -o https://www.one-tab.com/page/IgcP09iKQ6GjwDpS-qxKbQ
from rtv import RTVdownloader
urls = ['https://www.ipla.tv/wideo/news/Gosc-Wydarzen/5007380/Gosc-Wydarzen-Pawel-Adamowicz/090c6a4705c443633df966d648040a8a']
rtv = RTVdownloader()
rtv.load(urls)
rtv.download()
You can easily inspect the data of the video
video = rtv.videos[0]
>>> video.data
{
'date': datetime.datetime(2018, 2, 21, 0, 0),
'ext': 'mp4',
'showname': 'Gość Wydarzeń',
'site': 'ipla.tv',
'title': 'Gość Wydarzeń - Paweł Adamowicz',
'url': 'http://redirector.redefine.pl/vm2movies/4homg3f3s1x3t5az2pgsijatktx5c9hn.mp4'
}
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone https://github.com/radzak/rtv-downloader.git
cd rtv-downloader
pipenv install --dev
pipenv shell
You can run tests with setup.py
python setup.py test
or with pytest directly
pytest
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Radosław Krzak - radzak
This project is licensed under the MIT License - see the LICENSE.md file for details