Toggle navigation
Toggle navigation
This project
Loading...
Sign in
LiuFuhua
/
xj-marketing
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zoujie
2024-12-23 13:50:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e380705e28b6ea013277b0cd6bac007c5a6bb51d
e380705e
1 parent
c6277ce3
抖音去掉暂停,自动等待cookie
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
uploader/douyin_uploader/main.py
uploader/douyin_uploader/main.py
View file @
e380705
...
...
@@ -58,7 +58,8 @@ async def douyin_cookie_gen(account_file):
# Pause the page, and start recording manually.
page
=
await
context
.
new_page
()
await
page
.
goto
(
"https://creator.douyin.com/"
)
await
page
.
pause
()
await
page
.
wait_for_url
(
"https://creator.douyin.com/creator-micro/home"
)
# await page.pause()
# 点击调试器的继续,保存cookie
await
context
.
storage_state
(
path
=
account_file
)
...
...
Please
register
or
login
to post a comment