NEWScrapingAnt MCP for Claude Code, Cursor & Windsurf — try it free →
Skip to main content

68 posts tagged with "python"

View All Tags

Breaking Down IP Restrictions - How to Overcome Website Limits and Gather Data Safely

· 13 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

Breaking Down IP Restrictions: How to Overcome Website Limits and Gather Data Safely

As the internet grows, I'm finding that many website owners are using IP restrictions to protect their content from unauthorized access. Essentially, IP restrictions limit the requests a user can make to a website within a specific period. Still, they can also pose a challenge for web scrapers like me trying to gather data from the site. In this blog post, I'll explain how IP restrictions work, why they're used, and explore different ways that I can overcome these limitations as a web scraper.

A Quick Guide to Parsing HTML with RegEx

· 9 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

A Quick Guide to Parsing HTML with RegEx

Parsing HTML documents can be complex and tedious, but it is an integral part of web development. It is common to parse HTML pages to extract the required information when working with web scraping or website building. One of the methods applied to parse HTML pages is through the use of regular expressions (RegEx).

This guide will walk you through how to parse HTML with RegEx using Python, along with best practices and tips.

Jupyter vs Spyder. Which One Is Better for Python Programming?

· 6 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

Jupyter vs Spyder. Which One Is  Better for Python Programming?

Programming has been at the heart of the massive technological developments that we have experienced over the past few decades or so. From data analysis to web development, programming languages such as Python have significantly aided technological innovation. In fact, the position of Python among the pantheon of programming languages is unique.

Most web developers and data scientists prefer to use Python as their primary programming language over other options. And if you’re one such person working with Python or considering doing so, it’s essential to use IDE (Integrated Development Environment) to make programming more efficient and convenient.

Scrape a Dynamic Website with Python

· 12 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

Scrape a Dynamic Website with Python

Updated 2026-09-14

The Selenium and Playwright examples were re-run with Selenium 4.49, Playwright 1.62 and Python 3.12, and their output below is copied from that run. The Selenium example was rewritten because webdriver.Chrome() no longer accepts the executable_path argument used in the 2021 version. The Pyppeteer section was removed because the library is unmaintained. A second fixture was added for content that arrives after a delay. The ScrapingAnt API example was updated to the same fixtures but was not executed for this update; no API output is shown as measured. Code, fixtures and captured output: scrapingant-examples/examples/scrape-dynamic-website-with-python.

You open a page in the browser and the data is there. You fetch the same URL with requests, parse it with BeautifulSoup, and the field is empty or shows placeholder text. That is the symptom of a dynamic website: the HTML the server sends is not the HTML you see, because JavaScript changes the page after it loads. This tutorial shows how to confirm that diagnosis on a small fixture and how to get the rendered content with Selenium, Playwright, or the ScrapingAnt API, including the case where the content shows up only after a delay.

Top 5 Popular Python Libraries for Web Scraping in 2024

· 5 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

Top 5 Popular Python Libraries for Web Scraping in 2024

It is a well-known fact that Python is one of the most popular programming languages for data mining and Web Scraping. There are tons of libraries and niche scrapers around the community, but we’d like to share the 5 most popular of them.

Most of these libraries' advantages can be received by web scraping API and some of these libraries can be used in stack with it.