Using robotparser package in Python

Gustavo Santos
3 min readMar 5, 2024

Robot Parser can help you to understand the robots.txt file before scraping a web site.

Photo by Glenn Carstens-Peters on Unsplash

Introduction

During my daily reads in Medium, I bumped into this quick article where the author gives a couple of tips for those who want to go web scraping.

One of the tips that caught my attention was about the package robotparser from urllib in Python…

--

--

Gustavo Santos

Data Scientist. I extract insights from data to help people and companies to make better and data driven decisions. | In: https://www.linkedin.com/in/gurezende/