The AI-powered Entity Audit
- Practical: Setting Up Custom Extraction and Checking Your Corpus
- Practical: Running the Crawl with Claude and the Screaming Frog MCP
- Building an Audit Corpus You Can Actually Trust
Tools & Platforms
In shortAutomatically extracting data from web pages, such as page copy, SERPs or reviews, into a structured dataset you can analyse or feed to a model.
Web scraping is the automated extraction of data from websites. Instead of copying text by hand, a tool or script visits pages, pulls out the parts you care about (body copy, titles, prices, reviews, search results) and saves them as rows in a spreadsheet or table. In MLforSEO material it is usually step one of a project, because every machine learning task needs a dataset to work on.
A scraper requests a page, reads the HTML that comes back and uses selectors to find the elements you want. Selectors are usually CSS paths, XPath expressions or regular expressions. The extracted values are written to a file, one row per page or item. JavaScript-heavy sites may need a rendering crawler that runs the page in a headless browser first.
There are three common routes, from least to most technical:
In MLforSEO’s Screaming Frog tutorial, you open a blog post, right-click the main content block, copy its selector, and add it as a custom extraction rule. After crawling the blog, every URL has a column containing just its body copy, with navigation and footers left out. That clean text then goes straight into an NLP API or a clustering notebook.
Web Scraping of Page Content in 3 Easy Steps with Screaming Frog
How to Automatically Generate Meta Descriptions with Python: From BERT to LLMs
How to do Entity Extraction with Google’s Natural Language API in Google Sheets (Apps Script)
How to do Text Classification with Google’s Natural Language API in Google Sheets (Apps Script)