Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Am I in trouble if I used beautiful soup to get data from google.com?

I used –

URL = "http://www.google.com"
r = requests.get(URL)
  
soup = BeautifulSoup(r.content, 'html5lib') 
print(soup.prettify())

I was learning python and did not know that web scraping is not allowed.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Short answer: No

Google doesn’t allow web scraping, but they don’t take any legal action against it. They use a lot of defense systems, so even if you tried to do something bad it would just be blocked.

Just don’t worry about it 🙂

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading