Page 1 of 1

Save webpage with all pictures

Posted: Sat Oct 05, 2019 2:03 pm
by bryan
Is it possible to save the page with all pictures separately, as the browser does. $browser->save_page_as(); saves only html file. It is desirable to add the facility to save all images, and that at some sites the order of the pictures is constantly changing and links to the captcha dynamic.

Re: Save webpage with all pictures

Posted: Sat Oct 05, 2019 2:54 pm
by support
$image->save_to_file_by_number($number,$filepath); - can help - first save all images under the names images\1.jpg, images\2.jpg, etc., then save the html, and in order to change all the links to the pictures on the page and again save the html.

Re: Save webpage with all pictures

Posted: Sat Oct 05, 2019 3:37 pm
by bryan
Thanks