master 41191baadc1f cached
3 files
4.8 KB
1.3k tokens
6 symbols
1 requests
Download .txt
Repository: F-Society-Freaks/TikTok-Shares-Botter
Branch: master
Commit: 41191baadc1f
Files: 3
Total size: 4.8 KB

Directory structure:
gitextract_svag4ip0/

├── README.md
├── main.py
└── setup.py

================================================
FILE CONTENTS
================================================

================================================
FILE: README.md
================================================
# TikTok-Shares-Botter
Adds TikTok Shares for you.

## Information
This tool was developed to demonstrate how simple it is to abuse a service like TikTok. Using this tool will definitely cause the video to be on the TikTok "For You" page — increases chances of becoming TikTok famous. Please refrain from using this TikTok Shares Botter as it was once again only developed for educational purposes. Nevertheless, if you use this, you are doing it at your own risk.

Thanks to verdict for this insane idea.<br/>
His Discord: verdict#0200

## Preview
![](https://i.imgur.com/63NTRvx.png)
![](https://i.imgur.com/WstiI7q.png)

## Usage
If you do not already have the **requests** library installed, run the setup.py file — make sure PIP is added to PATH.
1. Run main.py.
2. Enter the amount of desired Shares.
3. Paste a TikTok URL.
4. All set!

## Legal Notice
This is illegal if you use this without the consent of the owners — in this case, the TikTok team. I am not accountable for anything you get into; this was merely a speedrun to demonstrate how botters work. This is 100% educational, please do not misuse this tool.


================================================
FILE: main.py
================================================
import os
import random
import requests
import threading
from time import strftime, gmtime, time, sleep


class TikTok:
    def __init__(self):
        self.added = 0
        self.lock = threading.Lock()

        try:
            self.amount = int(input('> Desired Amount of Shares: '))
        except ValueError:
            print('\nInteger expected.')
            os.system('title [TikTok Shares Botter] - Restart required')
            os.system('pause >NUL')
            os._exit(0)

        try:
            self.video_id = input('> TikTok URL: ').split('/')[5]
        except IndexError:
            print(
                '\nInvalid TikTok URL format.\nFormat expected: https://www.tiktok.com/@username/vi'
                'deo/1234567891234567891'
            )
            os.system('title [TikTok Shares Botter] - Restart required')
            os.system('pause >NUL')
            os._exit(0)
        else:
            print()

    def status(self, code, intention):
        if code == 200:
            self.added += 1
        else:
            self.lock.acquire()
            print(f'Error: {intention} | Status Code: {code}')
            self.lock.release()

    def update_title(self):
        # Avoid ZeroDivisionError
        while self.added == 0:
            sleep(0.2)
        while self.added < self.amount:
            # Elapsed Time / Added * Remaining
            time_remaining = strftime(
                '%H:%M:%S', gmtime(
                    (time() - self.start_time) / self.added * (self.amount - self.added)
                )
            )
            os.system(
                f'title [TikTok Shares Botter] - Added: {self.added}/{self.amount} '
                f'({round(((self.added / self.amount) * 100), 3)}%) ^| Active Threads: '
                f'{threading.active_count()} ^| Time Remaining: {time_remaining}'
            )
            sleep(0.2)
        os.system(
            f'title [TikTok Shares Botter] - Added: {self.added}/{self.amount} '
            f'({round(((self.added / self.amount) * 100), 3)}%) ^| Active Threads: '
            f'{threading.active_count()} ^| Time Remaining: 00:00:00'
        )

    def bot(self):
        action_time = round(time())
        install_id = ''.join(random.choice('0123456789') for _ in range(19))

        data = (
            f'action_time={action_time}&item_id={self.video_id}&item_type=1&share_delta=1&stats_cha'
            'nnel=copy'
        )
        headers = {
            'Content-Type': 'application/x-www-form-urlencoded',
            'x-common-params-v2': 'version_code=16.6.5&app_name=musical_ly&channel=App%20Store&devi'
                                  f'ce_id={install_id}&aid=1233&os_version=13.5.1&device_platform=i'
                                  'phone&device_type=iPhone10,5'
        }

        try:
            response = requests.post(
                'https://api16-core-c-useast1a.tiktokv.com/aweme/v1/aweme/stats/?ac=WIFI&op_region='
                'SE&app_skin=white&', data=data, headers=headers
            )
        except Exception as e:
            print(f'Error: {e}')
        else:
            if 'Service Unavailable' not in response.text:
                self.status(response.status_code, response.text)

    def multi_threading(self):
        self.start_time = time()
        threading.Thread(target=self.update_title).start()

        for _ in range(self.amount):
            threading.Thread(target=self.bot).start()

        os.system('pause >NUL')
        os.system('title [TikTok Shares Botter] - Exiting...')
        sleep(3)


if __name__ == '__main__':
    os.system('cls && title [TikTok Shares Botter]')
    main = TikTok()
    main.multi_threading()


================================================
FILE: setup.py
================================================
from os import system

system('pip install requests')
print('\nFinished.')
system('pause >NUL')
Download .txt
gitextract_svag4ip0/

├── README.md
├── main.py
└── setup.py
Download .txt
SYMBOL INDEX (6 symbols across 1 files)

FILE: main.py
  class TikTok (line 8) | class TikTok:
    method __init__ (line 9) | def __init__(self):
    method status (line 34) | def status(self, code, intention):
    method update_title (line 42) | def update_title(self):
    method bot (line 65) | def bot(self):
    method multi_threading (line 91) | def multi_threading(self):
Condensed preview — 3 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5K chars).
[
  {
    "path": "README.md",
    "chars": 1124,
    "preview": "# TikTok-Shares-Botter\nAdds TikTok Shares for you.\n\n## Information\nThis tool was developed to demonstrate how simple it "
  },
  {
    "path": "main.py",
    "chars": 3692,
    "preview": "import os\nimport random\nimport requests\nimport threading\nfrom time import strftime, gmtime, time, sleep\n\n\nclass TikTok:\n"
  },
  {
    "path": "setup.py",
    "chars": 96,
    "preview": "from os import system\n\nsystem('pip install requests')\nprint('\\nFinished.')\nsystem('pause >NUL')\n"
  }
]

About this extraction

This page contains the full source code of the F-Society-Freaks/TikTok-Shares-Botter GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 3 files (4.8 KB), approximately 1.3k tokens, and a symbol index with 6 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!