This is a Python script for scraping Douyin (also known as TikTok in some countries) videos using Douyin's API. The script allows you to search for videos based on a keyword and download them to your local machine.
- Clone this repository to your local machine.
- Run ./venv/Scripts/activate in your terminal
- Install the required packages by running pip install -r requirements.txt.
- In the getLinkVideo.py file, change USER_URL to the target user you want to crawl.
- Run getLinkVideo.py in your terminal
- Wait until finish, you can check the crawl links in Crawl_data folder.
- Run downLoadVideo.py in your terminal
- Enjoy!!!
This script is licensed under the MIT License.