Easily download all the videos by keywords from Tiktok and Youtube
- Install Chrome (notice the version of chrome driver in chromedriver folder)
- Git clone:
git clone https://github.com/htdung167/AutoVideoCrawler.git
cd AutoVideoCrawler
- Create env with conda:
conda create -n myenv
conda activate myenv
conda install pip
pip install --upgrade pip
pip install -r requirements.txt
- Create
.env
file and fill your Tiktok account with Facebook in.env
file (You need a activated Tiktok account with Facebook):
ACCOUNT_TIKTOK=<your nickname>
PASSWORD_TIKTOK=<password>
- Write the keywords in
keywords.txt
file - Run:
python main.py --unique true --limit 30 --type tiktok
7.Files will be downloaded to 'download' directory.
- Install Chrome (notice the version of chrome driver in chromedriver folder)
- Git clone:
git clone https://github.com/htdung167/AutoVideoCrawler.git
cd AutoVideoCrawler
- Create env with conda:
conda create -n myenv
conda activate myenv
conda install pip
pip install --upgrade pip
pip install -r requirements.txt
- Write the keywords in
keywords.txt
file - Run:
python main.py --unique true --limit 30 --type youtube
python main.py [--unique true] [--limit 30]
--unique true : Url of videos in keyword folders is different.
--limit 30 : Maximum count of videos to download per keyword.
--type tiktok: Use "tiktok" or "youtube" to download.