Douyin Scraper

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.

Installation

  1. Clone this repository to your local machine.
  2. Run ./venv/Scripts/activate in your terminal
  3. Install the required packages by running pip install -r requirements.txt.

Usage

  1. In the getLinkVideo.py file, change USER_URL to the target user you want to crawl.
  2. Run getLinkVideo.py in your terminal
  3. Wait until finish, you can check the crawl links in Crawl_data folder.
  4. Run downLoadVideo.py in your terminal
  5. Enjoy!!!

License

This script is licensed under the MIT License.