Giter VIP home page Giter VIP logo

tiktok_scrapper's Introduction

TikTok API in Python

This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call most trending and fetch specific user information. The user videos will be stored as .zip file and will be automatically uploaded to Google Drive.

Pre-Requits

  1. Python3
  2. pip must be installed
  3. Google Drive Api must be configured and download json package and name it client_secrets.json

After Installing these run following commands in terminal:

1. pip install TikTokApi 2. pyppeteer-install 3. pip install PyDrive

How to Run Script?

  1. After running above commands now you need to open terminal in your project folder type following command:

    python TikTok.py u tiktok_username

    Ex: python TikTok.py u jannat_zubair29 [This will download videos from @jannat_zubair29 TikTok account]

  2. For Downloading videos by hashtag type following command:

    python TikTok.py h hashtag

    Ex: python TikTok.py h cat [This will download videos from hastag "cat"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.