davidteather / TikTokBot

A TikTokBot that downloads trending tiktok videos and compiles them using FFmpeg
Other
347 stars 61 forks source link

[BUG] HELP - secs = float(secsval) ValueError: could not convert string to float: '' #19

Closed JustDhan closed 3 years ago

JustDhan commented 3 years ago

I installed playwright, all module requests, i flaged to true API_Endpoint in the API "tiktok.py" file and finally solved the Hashtag CAPTHA ERROR After thate the new issue became when start the script from Tiktokbot.py

Traceback (most recent call last): File "C:\Users\X\Desktop\TikTokbot\tiktokbot.py", line 152, in vidLength = getLength('downloaded/' + str(x) + ".mp4") File "C:\Users\X\Desktop\TikTokbot\tiktokbot.py", line 23, in getLength secs = float(secsval) ValueError: could not convert string to float: ''

Pip verssion 20.2 Python version 3.9

Do you suggest a specific version of FFMPEG,PLAYWRIGHT or PYTHON?

JustDhan commented 3 years ago

Solved issue simply by changing the search hashtag