peduajo / geetest-slice-captcha-solver

Solver for the geetest sliding captcha
140 stars 53 forks source link

how to get necessary pngs from html/iframe? #7

Open emezir opened 2 years ago

emezir commented 2 years ago

Hi, background and puzzle piece pngs are supposed to be located in:

<canvas class="geetest_canvas_bg geetest_absolute" height="160" width="260"></canvas>
<canvas class="geetest_canvas_slice geetest_absolute" width="260" height="160"></canvas>

but is there a straight forward way to save them? i'm not using selenium, and cannot but from a chrome web app

BitSleek commented 2 years ago

Those canvas can be found anywhere, try to look in the source page code for that class names and you'll get the specific full path.

givnocoder commented 1 year ago

here is a solution https://stackoverflow.com/questions/38316402/how-to-save-a-canvas-as-png-in-selenium