O
O
Old_TyT2021-09-26 13:07:42
Python
Old_TyT, 2021-09-26 13:07:42

How to upload videos to tiktok without selenium in python?

How to upload videos to tik tok using python without a browser?
Please, if you provide links to libraries, see if there is a video download method

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kayuro, 2021-09-26
@Kayuro

I took the code from the guide on YouTube, thanks to the commentator. I use this code myself.

from selenium import webdriver from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument("--headless")
driver = webdriver.Chrome(options=chrome_options)
start_url = "https://duckgo.com"
driver.get(start_url)
print(driver.page_source.encode("utf-8"))
driver.quit()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question