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
liufuhua007
2024-12-23 16:10:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
18b11ab9ace0658b8cb3be537b17f8db2851f259
18b11ab9
1 parent
c4816dae
add comments
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
README.MD
utils/CaptchaPasser.py
README.MD
View file @
18b11ab
...
...
@@ -24,7 +24,7 @@ xj-marketing This project aims to automate the posting of videos to various soci
-
[
]
AcFun
-
[
]
秒拍
-
[
]
小红书商家
-
[
]
头条号
-
[
x
]
头条号
-
[
]
百家号
-
[
]
搜狐号
-
[
x
]
网易号
...
...
utils/CaptchaPasser.py
View file @
18b11ab
...
...
@@ -66,12 +66,13 @@ def calc_distance():
print
(
f
"识别错误, 异常:{e}"
)
"""demo sample"""
with
sync_playwright
()
as
p
:
# browser = p.chromium.launch(channel="msedge",proxy={"server": "http://{}".format(proxy)})
browser
=
p
.
chromium
.
launch
(
headless
=
False
)
iphone_12
=
p
.
devices
[
"iPhone 12"
]
context
=
browser
.
new_context
(
record_video_dir
=
"videos/"
,
record_video_dir
=
"videos
-temp
/"
,
**
iphone_12
,
)
page
=
context
.
new_page
()
...
...
Please
register
or
login
to post a comment