kennyledet / Google-EmailScraper

Scraper that searches Google based on a query and scrapes all emails found on each page.
102 stars 33 forks source link

urllib2.HTTPError: HTTP Error 999: Request denied and 403: Forbidden #3

Open kn9 opened 6 years ago

kn9 commented 6 years ago

Hello @FelixVicis, I get keep getting the error below when I try your forked Google-EmailScraper. how can I resolve this, please

root@Inside:/home/amd/mail# sudo python main.py -query "Manage IT Services" -pages 10 -o ema.csv Traceback (most recent call last): File "main.py", line 65, in s.go(args.query, args.pages) File "main.py", line 35, in go self.scrape(url) File "main.py", line 43, in scrape raise e urllib2.HTTPError: HTTP Error 999: Request denied root@Inside:/home/amd/mail# sudo python main.py -query "Manage IT Services" -pages 10 -o emaia.csv Traceback (most recent call last): File "main.py", line 65, in s.go(args.query, args.pages) File "main.py", line 35, in go self.scrape(url) File "main.py", line 43, in scrape raise e urllib2.HTTPError: HTTP Error 403: Forbidden

FelixVicis commented 6 years ago

Good morning @kn9,

I'm going to move your bug report over to my repo so that I can properly track the problem.

dray89 commented 5 years ago

Similar issue when trying to run command on readme
File "main.py", line 43 except Exception, e: