I have been running my webSpider locally without a problem but then When I uploaded my code onto pythonanywhere I am getting errors.
I am not going to copy the full source here but I am going to paste a prototype version of it which also return the same error.
My code run fine locally and also on Google cloud shell.
(jobSpider) 14:59 ~/jobSpider $ python testSoup.py
Traceback (most recent call last):
File "/home/moodkiller2022/jobSpider/testSoup.py", line 12, in <module>
job_elements = result.find_all("div", class_="job_seen_beacon")
AttributeError: 'NoneType' object has no attribute 'find_all'
It looks like soup.find(id="mosaic-provider-jobcards") is returning None. Perhaps you can print out the page that you're getting for soup and find out what it contains? It's possible that the site you're accessing is blocking requests from PythonAnywhere -- sites often don't like being scraped from cloud computing platforms, and it's entirely possible that they've blocked us but haven't blocked the IP of the Google Cloud shell that you're using yet.
Thank you for getting back to me
So there aren't any way around that ?
So I tried printing the soup object to see what it contains and I notice that
Looks like I got this captcha page.
But the same soup objected returned actual HTML details, it looks like I cant even print soup anymore.
Sorry, we have had to rate-limit your feedback sending. Please try again in a few moments...
Thanks for the feedback! Our tireless devs will get back to you soon.