HA6Bots / TikTok-Compilation-Video-Generator

A system of bots that collects clips automatically via custom made filters, lets you easily browse these clips, and puts them together into a compilation video ready to be uploaded straight to any social media platform. Full VPS support is provided, along with an accounts system so multiple users can use the bot at once. This bot is split up into three separate programs. The server. The client. The video generator. These programs perform different functions that when combined creates a very powerful system for auto generating compilation videos.
https://www.youtube.com/watch?v=Ua-NbCDuYrE
MIT License
732 stars 119 forks source link

TIK TOK API #10

Open Emilianocm23 opened 3 years ago

Emilianocm23 commented 3 years ago

Hello, i tried the new update and i get this message:

Traceback (most recent call last): File "C:\Python38-32\lib\configparser.py", line 789, in get value = d[option] File "C:\Python38-32\lib\collections__init.py", line 898, in getitem return self.missing(key) # support subclasses that define missing File "C:\Python38-32\lib\collections\init.py", line 890, in missing__ raise KeyError(key) KeyError: 's_v_web_id'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\tik tok bot\TikTok Server\main.py", line 4, in import server File "D:\tik tok bot\TikTok Server\server.py", line 31, in settings.generateConfigFile() File "D:\tik tok bot\TikTok Server\settings.py", line 75, in generateConfigFile loadValues() File "D:\tik tok bot\TikTok Server\settings.py", line 91, in loadValues s_v_web_id = config.get('tiktok', 's_v_web_id') File "C:\Python38-32\lib\configparser.py", line 792, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 's_v_web_id' in section: 'tiktok'

habibi92 commented 3 years ago

you can go on the config.ini, under Language in tiktok section, add s_v_web_id and tt_webid, it works for me

HA6Bots commented 3 years ago

Yes you need to update your config file with s_v_web_id and tt_webid.

habibi92 commented 3 years ago

HA6, i've a question, i put the s_v_web and the tt_webid, but now when i'm starting it, it said tiktokapi isn't loaded, i don't understand because i re-installed the tiktok api 3 times :/

HA6Bots commented 3 years ago

@habibi92 Make sure you remove the previous version of the TikTokAPI via pip remove. Then install the new API. I don't think either one works when they're both installed since they share the same names.

nisanb commented 3 years ago

I keep getting {'statusCode': 0} in the logs. It can't find anything.