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
766 stars 121 forks source link

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\config parser.py", line 788, in get #20

Closed Arma-Software closed 3 years ago

Arma-Software commented 3 years ago

Im getting a error while staring main.py Anyone got a idea?

This is the full output:

C:\Users\Administrator\Downloads\TikTok-Compilation-Video-Generator-master\TikTo k Server>py main.py Found config in location C:\Users\Administrator\Downloads\TikTok-Compilation-Vid eo-Generator-master\TikTok Server\config.ini Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\config parser.py", line 788, in get value = d[option] File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\collec tions__init.py", line 914, in getitem return self.missing(key) # support subclasses that define m issing File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\collec tions\init.py", line 906, 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 "main.py", line 4, in import server File "C:\Users\Administrator\Downloads\TikTok-Compilation-Video-Generator-mast er\TikTok Server\server.py", line 31, in settings.generateConfigFile() File "C:\Users\Administrator\Downloads\TikTok-Compilation-Video-Generator-mast er\TikTok Server\settings.py", line 75, in generateConfigFile loadValues() File "C:\Users\Administrator\Downloads\TikTok-Compilation-Video-Generator-mast er\TikTok Server\settings.py", line 91, in loadValues s_v_web_id = config.get('tiktok', 's_v_web_id') File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\config parser.py", line 791, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 's_v_web_id' in section: 'tiktok'

ADH36 commented 3 years ago

Goto server folder Edit config.ini

under [tiktok] add s_v_web_id = value tt_webid = value

Arma-Software commented 3 years ago

Hi,

Thanks a lot gonna try this tonight. Replace the value with an actual "value" or just the word?

ADH36 commented 3 years ago

Hi,

Thanks a lot gonna try this tonight. Replace the value with an actual "value" or just the word?

Actual Values !

I will dig into it more why it's happening . For now seems like settings.py in unable to write temp config file .

Arma-Software commented 3 years ago

Thanks a lot. Is there a wiki / readme where i can see how to get these vals? Cheers

ADH36 commented 3 years ago

Hey again ,

1-Goto tiktok website in chrome or any browser . For this instance I will consider chrome.

2-Login to your account .

3-Open your profile .

4- Developer mode/tools .

5- In Top selection bar , Select application .

6- Find folder cookies . In cookies you can find both values just copy paste .

Will push nice readme , Soon .

Arma-Software commented 3 years ago

Works perfekt thanks a lot -Closed