This script is designed to scrape and download series episodes from a specified movie site. It supports downloading using either wget
or aria2c
.
- Scrape all season links from a given series URL.
- Extract all downloadable file links from each season.
- Download files using
wget
oraria2c
. - Bypass previously saved links for rescraping if needed.
- Python 3.x
requests
beautifulsoup4
To install the required Python packages, run:
pip install requests beautifulsoup4
Usage
- Clone this repository.
- Ensure you have wget or aria2c installed on your system.
- Run the script with the following command:
usage: main.py [-h] [--aria] [--bypass] [--dry-run] show_link
Download series episodes
positional arguments:
show_link URL of the show
options:
-h, --help show this help message and exit
--aria Use aria2c for downloading
--bypass Bypass the saved links file and rescrape all links manually
--dry-run Just fetches the file links, doesn't download anything
To download episodes using aria2c:
python main.py https://example.com/show_link --aria
To download episodes using wget and rescrape all links:
python main.py https://example.com/show_link --bypass
This script is intended purely for educational purposes. The author is not responsible for any misuse of this script, including but not limited to piracy or any other illegal activities. Please ensure that you have the legal right to download the content before using this script.