简体   繁体   中英

Getting captcha image generated by javascript on client side

I tried to get captcha image using Nokogiri, hpricot but instead of image I've got javascript that generates captcha. How can get captha image build by javascript?

Page: https://kavkazsg.megafon.ru/

Firewatir doesn't suit this task cause application will be used in console

The Image is not generated by javascript, it's loaded via an Ajax request.

A Captcha on the client side (eg pure javascript) doesn't make sense.

JavaScript doesn't have Bitmap apis, so it won't be able to generate a captcha.

Also whats the point to doing it in the client side since the whole logic of captcha generation will "open source"!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM