Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.26 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.26 KB

Deti.fm downloader

These scripts crawl and download podcasts/audiobooks/radio plays (programs) from Children's Radio which is broadcasting in Russian language and has a vast archive of programs.

How to use

First, install all dependencies (best done using a virtual environment):

pip3 install -r requirements.txt

Then, create the list of all programs:

./crawler.py > programs.json

Finally, download the programs:

./downloader.py < programs.json

The last command will download the programs into the current directory. It will create the following directory structure:

.
└── Program name
    ├── 1 - Episode name.mp3
    ├── 2 - Episode name.mp3
    ├── ...
    └── cover.jpg

The downloader.py will also try to set mp3 tags according to the metadata in the programs.json including cover art.

Features and limitations

  • There is no support for incremental downloads or for downloading updated content only.

  • Both the downloader.py and crawler.py try to sleep at least for 1 second between requests to not overload the server.

Keywords in Russian for search engines

Скрипты для скачивания программ с Детского Радио.