This is aparat downloader. It use selenium to crawl sites and get links. It use downloader to download the links.
Before using this downloader should flow the steps:
- Make sure you have python 3 installed
- Clone the repository
- Get the selenium driver from this link
- Extract the file
- Change
<your-path-to-selenium-driver>
to your path to selenium driver - Create virtualenv using
python3 -m virtualenv --python=python3 env
or any commands you use to create env - Activate virtualenv using
. env/bin/activate
or any commands you use to activate your env - Install requirements using
pip install -r requirements.txt
While your env is activate run the flowing command to get all links from an aparat channel.
python get_all_links_from_aparat_channel.py -n <channel-name>
And to download all the links we discover and store in links.json
, use the flowing command.
python downloader.py -f <filename>
Get all links from aparat channel
python get_all_links_from_aparat_channel.py -n hellodigi
Downloading all links
python downloader.py -f links.json
- Add Download All videos from playlist
- Show downloading process
- Add farsi readme
- Add multiprocessing for downloading