Selenium grabs a picture of a website, because of a picture 522, it takes a long time to grab, how to solve it?

use selenium + php to grab the verification code of a website, and as a result, there is an image loading 522 on the website, which results in a long loading time and a long crawling time, so how to solve the optimization.

clipboard.png

also want to ask, if you crawl a website, in order to reduce the page loading time, how to remove the specified url links, do not execute. For example, advertisements and other third-party links. Thank you, God, you can give me some advice

Php
Mar.25,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf0f28-31d33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf0f28-31d33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?