Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取base64图片数据时,其中的一段数据不正确输出的问题 #231

Closed
qazwsdc opened this issue May 14, 2024 · 0 comments
Closed

Comments

@qazwsdc
Copy link

qazwsdc commented May 14, 2024

src = page.ele('.yzm').link
这样获取的base64里面的一小段会出问题,
我尝试使用page.run_js("var yzmSrc = document.getElementById('yzm').src;console.log(yzmSrc);")输出到console是正确的,但使用page.run_js("return document.getElementById('yzm').src;")获取到的又会出问题

真心离谱

@qazwsdc qazwsdc closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant