Guide to Parsing HTML with BeautifulSoup in Python

Introduction Web scraping is programmatically collecting information from various websites. While there are many libraries and frameworks in various languages that can extract web data, Python has long been a popular choice because of its plethora of options for web scraping. This article will give you a crash course on web scraping in Python with Beautiful Soup – a popular Python library for parsing HTML and XML. Ethical Web Scraping Web scraping is ubiquitous and gives us data as we […]

Read more

Beginners Tutorial for Regular Expressions in Python

Importance of Regular Expressions In last few years, there has been a dramatic shift in usage of general purpose programming languages for data science and machine learning. This was not always the case – a decade back this thought would have met a lot of skeptic eyes! This means that more people / organizations are using tools like Python / JavaScript for solving their data needs. This is where Regular Expressions become super useful. Regular expressions are normally the default way […]

Read more

Introduction to Web Scraping with Python

Introduction Web-scraping is an important technique, frequently employed in a lot of different contexts, especially data science and data mining. Python is largely considered the go-to language for web-scraping, the reason being the batteries-included nature of Python. With Python, you can create a simple scraping script in about 15 minutes and in under 100 lines of code. So regardless of usage, web-scraping is a skill that every Python programmer must have under his belt. Before we start getting hands-on, we […]

Read more

Getting Started with Selenium and Python

Introduction Web Browser Automation is gaining popularity, and many frameworks/tools have arose to offer automation services to developers. Web Browser Automation is often used for testing purposes in development and production environments, though it’s also often used for web scraping data from public sources, analysis, and data processing. Really, what you do with automation is up to you, though, just make sure that what you’re doing is legal, as “bots” created with automation tools can often infringe laws or a […]

Read more