Giter VIP home page Giter VIP logo

tagesschau's Introduction

Tagesschau Favicon Tagesschau Archive Article Dataset

Python 3.10 HuggingFace Datasets License: MIT

This repository contains the code for scraping every article from the Tagesschau.de archive. Find a deduplicated version of the dataset from 01.01.2018 to 26.04.2023 on HuggingFace.

Dataset Information

CSV structure:

Field Description
date Article date
headline Article headline
short_headline A short headline / Context
description Article lead
article_body Raw article text
detailed_article_body Article body with text objects (subhead, time, paragraph, topline)
date_modified Modified timestamp
date_published Published timestamp
keywords List of keywords
author Author object
publisher Publisher object
label Article label (e.g. interview, audio)
link Article link

Size:

The final dataset (2018-today) contains 225202 articles from 1942 days. Of these articles only 21848 are unique (Tagesschau often keeps articles in circulation for ~1 month). The total download size is ~65MB.

Cleaning:

  • Duplicate articles are removed
  • Articles with empty text are removed
  • Articles with empty short_texts are removed
  • Articles, headlines and short_headlines are stripped of leading and trailing whitespace

More details in clean.py.

Usage

Install with:

pip install poetry
poetry install --no-root

Run with:

python scrape_tagesschau.py #--start_date=2018-01-01 --end_date=2023-01-01 --output=tagesschau.csv

tagesschau's People

Contributors

bjoernpl avatar mudassarzahid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.