README.md 769 B

py-huitun-robot

灰豚数据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()