I need to start the download process in the background and I use something like this:
from threading import Thread api = TikTokApi() def foo(): url = \'htt