546200350 / TikTokUploder

Upload video to Tik Tok by sessionId
MIT License
170 stars 30 forks source link

How to do line breaks ? #71

Closed Fabien-desablens closed 1 year ago

Fabien-desablens commented 1 year ago

Hello, Tks for the Tiktok uploader, that's amazing.

but how can I do a line break in the description section ? I've tried with \n and br but none of them work.

Here's my code: title = f"{generate_random_call_to_action()}\n{get_title_from_mp4(mp4_name)}" if mp4_name is not None else generate_random_call_to_action()

and I modified the util.py : title += f"\n{verified_tag}"

Thanks

By the way a suggestion: you should modify the comment "print(f"[-] Please try to change the --url_server argument to the adapted prefix for your account")" to "print(f"[-] Please try to change the --url_server argument to the adapted prefix for your account or your session Id has changed"). It took me some times to find out it was not due to the prefix but to the cookie lol.

546200350 commented 1 year ago

72