This Python program crawls a radio website to download podcast MP3 files. It extracts podcast URLs from pagination and downloads the MP3 files from each podcast page.
- Python 3.x
- BeautifulSoup (
pip install beautifulsoup4
) - Requests (
pip install requests
)
- Clone this repository.
- Install dependencies using
pip install -r requirements.txt
. - Run
python podcast_crawler.py
.
podcast_crawler.py
: Main script to crawl the radio website, extract podcast URLs, and download MP3 files.download_file.py
: Function to download MP3 files from URLs.README.md
: Instructions and overview of the program.
- Adjust the
start_url
variable inpodcast_crawler.py
to specify the starting URL. - Modify the
download_folder
variable to specify the folder to save downloaded files.
- Assumes specific HTML structure of the radio website.
- May require adjustments for different website structures or formats.
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.