Simple script that downloads podcasts from Polish Radio webservices.
pip install git+https://github.com/bohdanbobrowski/pr-dl
First, clone repository:
git clone https://github.com/bohdanbobrowski/pr-dl.git
Then:
cd pr-dl
python -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
prdl --help
usage: prdl [-h] [-a] [-n] [-d] [-f] [-c] url_or_search
Polish Radio Downloader
positional arguments:
url_or_search Url or search phrase.
options:
-h, --help show this help message and exit
-a, --all Save all podcasts without confirmation.
-n, --new-only Save podcasts not yet downloaded (checks only by filename, so may be wrong).
-d, --debug Turn on debug mode.
-f, --forced Don't trust PR searchengine - show only results with given keyword.
-c, --cache Enable local cache.
Single url:
prdl https://www.polskieradio.pl/8/755/Artykul/426557
Use -a argument to download all podcasts:
prdl https://www.polskieradio.pl/podcast/ziemia-obiecana-wladyslaw-stanislaw-reymont,594 -a
You can also search using Polskie Radio search engine:
prdl Wańkowicz
I you add -f script fill "force" by searching phrase (case insensitive) in given results:
prdl "Sergiusz Piasecki" -f
pyinstaller prdl.spec