sananth12 / ImageScraper

:scissors: High performance, multi-threaded image scraper
GNU General Public License v3.0
763 stars 101 forks source link

images scraper Page failed to load. Status code: 403 #121

Open manish0197 opened 2 years ago

manish0197 commented 2 years ago

hey, I AM Trying Website Images Then the Showing Me Page failed to load. Status code: 403

Can Anyone Fix these ISSUES

pLEASE ADD THIS CODE

opener = urllib.request.URLopener() opener.addheader('User-Agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36')