小编sta*_*low的帖子

在谷歌表格中设置默认字体大小和样式的脚本

我有一个共享的谷歌工作表,人们不断地在其中粘贴新数据,但是数据总是采用不同的样式,并且重新设计它非常耗时。我想知道是否可以使用自动更正文档中的样式和大小的脚本。

google-sheets google-apps-script

6
推荐指数
1
解决办法
8078
查看次数

使用 Selenium 登录 Tiktok?

我目前正在使用下面的脚本上传 tiktok 视频,但是在运行该脚本时,我收到错误消息“尝试次数过多。请稍后再试。” 无论我使用哪种登录方法,旋转标题似乎都无法修复错误。有什么建议吗?

import time
import random
import requests
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.keys import Keys
from selenium.common.exceptions import NoSuchElementException
from webdriver_manager.chrome import ChromeDriverManager as CM
import undetected_chromedriver.v2 as uc
import undetected_chromedriver as uc

print('=====================================================================================================')
print('Heyy, you have to login manully on tiktok, so the bot will wait you 1 minute for loging in manually!')
print('=====================================================================================================')
time.sleep(8)
print('Running bot now, …
Run Code Online (Sandbox Code Playgroud)

selenium selenium-chromedriver tiktok

5
推荐指数
1
解决办法
6973
查看次数