wuwenyi 12e19ca20b fix: 优化滑块滑动策略 | 1 ماه پیش | |
---|---|---|
api | 1 ماه پیش | |
browser | 1 ماه پیش | |
huitun | 1 ماه پیش | |
tools | 3 ماه پیش | |
util | 2 ماه پیش | |
xhs | 1 ماه پیش | |
.gitignore | 3 ماه پیش | |
README.md | 1 ماه پیش | |
app.py | 3 ماه پیش | |
requirements.txt | 3 ماه پیش | |
stealth.min.js | 3 ماه پیش |
灰豚数据rpa
page-test
from playwright.sync_api import sync_playwright, Page, Playwright
import huitun
browser = huitun.HuiTunBrowser('13417350072')
browser.__init_browser__()
page = browser.page
page.goto(huitun.HUITUN_URL)
滑块验证 test
from playwright.sync_api import sync_playwright, Page, Playwright
import xhs
browser = xhs.XhsBrowser('18565121135')
browser.__init_browser__()
page = browser.page
page.goto('https://www.xiaohongshu.com/website-login/captcha?redirectPath=https%3A%2F%2Fwww.xiaohongshu.com%2Fexplore%2F66b095ea0000000025033d76%3FexSource%3D&verifyUuid=5a2fcb9e-b2cd-4813-8647-f50b5add9fe5*DJnYZiom&verifyType=101&verifyBiz=461')
rotate_obj = xhs.RotateIdent(page)
rotate_obj.handle_rotate()