GithubHelp home page GithubHelp logo

vdutts7 / tiktok-bot Goto Github PK

View Code? Open in Web Editor NEW
38.0 1.0 7.0 28 KB

Automate TikTok views, likes, & follows 👁️

License: Creative Commons Zero v1.0 Universal

Python 100.00%
pyfiglet selenium tiktok-bot

tiktok-bot's Introduction


Logo Logo

TikTok Bot

Automate TikTok views, likes, & follows 👁️

Github


Table of Contents

    📝 About
    💻 How to Build
    🔧 Tools Used
    👤 Contact

📝About

Coded a TikTok automation bot to:

  • View videos
  • Send Likes
  • Gain Followers

I created this for my business Scorphx to take advantage of TikTok's "viral content" algorithm during the most viral time for my business (2022 World Cup): generate rapid engagement, promote the concept kits I was selling, and direct mass traffic to link-in-bio i.e. my online store.


💻How to Build

  • Selenium library- controls a web browser and navigate to TikTok, where it allows user to select from a number of different modes that perform different actions.
  • Uses pyfiglet library to display banner message = visually appealing.
  • strftime function- formats into user-friendly readable elapsed time.

Steps

  1. Clone repo:
    git clone https://github.com/vdutts7/scorphx-tiktok-automation-bot 
    cd scorphx-tiktok-automation-bot
  2. Install modules:
    pip install -r scorphx-algo-reqs.txt
  3. Run the .py file:
    python the-scorphx-algo.py

Pros and Cons

*from POV of a non-coder looking for absolute convenience

Pros

  • Banner message = visually appealing.
  • Includes functions to clear/title text in terminal = easy to read program output and see current status.
  • Checks if current ChromeDriver version exists. If it doesn't, downloads it automatically.
  • Several try and except blocks to catch exception i.e. minimize program crashes.
  • strftime function --> formats into user-friendly readable elapsed time.

Cons

  • Code uses Selenium to control a web browser, which can be unreliable and prone to breaking when websites change.
    • If TikTok makes any important updates, code may break.
  • Code uses chromedriver_autoinstaller library to check if the current version of ChromeDriver exists and, if it doesn't, download it automatically. Potential compatibility issues.
  • Does not include error handling for invalid input i.e. if user enters a value that is not an integer when prompted to select a mode. This could result in the program crashing if the user enters invalid input.


🔧Tools Used

Selenium python


👤Contact

Email Twitter

tiktok-bot's People

Contributors

vdutts7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.