wuwenyi 12e19ca20b fix: 优化滑块滑动策略 | il y a 1 mois | |
---|---|---|
api | il y a 1 mois | |
browser | il y a 1 mois | |
huitun | il y a 1 mois | |
tools | il y a 3 mois | |
util | il y a 2 mois | |
xhs | il y a 1 mois | |
.gitignore | il y a 3 mois | |
README.md | il y a 1 mois | |
app.py | il y a 3 mois | |
requirements.txt | il y a 3 mois | |
stealth.min.js | il y a 3 mois |
灰豚数据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()