wuwenyi efa59c42bb fix: 调换验证码与 url验证的顺序 | hai 1 mes | |
---|---|---|
api | hai 1 mes | |
browser | hai 1 mes | |
huitun | hai 1 mes | |
tools | hai 3 meses | |
util | hai 2 meses | |
xhs | hai 1 mes | |
.gitignore | hai 3 meses | |
README.md | hai 1 mes | |
app.py | hai 3 meses | |
requirements.txt | hai 3 meses | |
stealth.min.js | hai 3 meses |
灰豚数据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()