davidteather / TikTokBot

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

help me please #16

Closed turpez closed 3 years ago

turpez commented 3 years ago

Pick a video length (1-3)

2-3 minutes 5-7 minutes 10-12 minutes 1 Select a video type Trending Hashtag User Sound 1 Traceback (most recent call last): File "tiktokbot.py", line 114, in verifyFp = "verify" + ''.join(random.choice(string.letters) for num in range(40)) File "tiktokbot.py", line 114, in verifyFp = "verify" + ''.join(random.choice(string.letters) for num in range(40)) AttributeError: module 'string' has no attribute 'letters'

TheClio69 commented 3 years ago

Hello @turpez,

You must replace : verifyFp = "verify_" + ''.join(random.choice(string.letters) for num in range(40)) with this : verifyFp = "verify_" + ''.join(random.choice(string.ascii_letters) for num in range(40)).

If you don't see what has changed, it's the "string.letters" that we replaced with "string.ascii_letters". Hoping to have solved your problem.

TheClio69 commented 3 years ago

@turpez please close your issue if your problem is resolved.

davidteather commented 3 years ago

Should be fixed by #18