Portfolio / News channel scraper

Case study · Web scraping

News channel scraper

A news aggregator that scrapes the latest articles from leading online news providers and presents them on one easy-to-browse website.

Industry
Media & publishing
Product
Scraper and news website
Built with
Python, Scrapy
News app on a smartphone
Illustrative photo

The brief

What it needed to do.

Readers follow many news sources, and keeping up means visiting each one. The goal was a single website that keeps users up to date on global events from leading providers.

That meant collecting articles automatically from many news sites, storing them in one place, and letting the client choose how they are grouped and shown.

What we built

Inside News channel scraper.

  • Multiple spiders

    A dedicated spider for each news channel collects the latest articles.

  • One database

    All scraped articles land in a common PostgreSQL database.

  • Labels

    Admins choose labels that decide how articles are grouped.

  • News website

    The client website shows related articles from different providers together.

  • Always fresh

    Spiders keep pulling new articles so there is always fresh news.

  • Admin control

    Clients control the labels and presentation from the admin.

How it works

The workflow, step by step.

  1. Scrape

    Spiders collect articles from each news site.

  2. Store

    Articles are saved to a common PostgreSQL database.

  3. Label

    Admins choose the labels used to group stories.

  4. Publish

    The website renders articles under each label.

Challenges

The hard parts, and how we solved them.

  • Many sources, many formats

    The challengeEvery news site structures its pages differently.

    Our solutionA separate Scrapy spider for each news channel, all feeding the same database schema.

  • Raw data to readable pages

    The challengeScraped content is raw and needs organising before readers see it.

    Our solutionAdmin-defined labels group related articles, and Django renders them on the client website.

Under the hood

Technology.

Scraping
Python, Scrapy
Web
Django
Database
PostgreSQL

Delivered

What we shipped.

  • Automated collection of articles from leading news providers
  • A single database of news from many sources
  • A client website that groups related stories by label

More work

Related projects.

See all projects

Your project

Building something similar?

We design, build and run software like this, from the first prototype to production. Tell us what you want to build.

Our Accomplishments