Skip to content

A Python script for extracting information about Kaktus Dobíječka announcements

License

Notifications You must be signed in to change notification settings

vitlabuda/kaktus-dobijecka-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaktus Dobíječka extractor

This repository contains a "quick & dirty" Python script, kaktus_dobijecka_extractor.py, for extracting information about announcements of Dobíječka, a happy hour event organized by Kaktus, a Czech MVNO, during which one can get their prepaid credit top-ups doubled.

The script extracts the announcements from multiple "Novinky z květináče" web pages (from the "live" one and from archived ones on web.archive.org) to get as much data as possible, and saves the following information into a CSV and a JSON file:

  • date
  • hour_begin
  • hour_end
  • title
  • description

Usage

cd kaktus-dobijecka-extractor
python3 -m venv __venv__
. __venv__/bin/activate
__venv__/bin/pip3 install -r requirements.txt
__venv__/bin/python3 kaktus_dobijecka_extractor.py

Tested on Debian 11 with Python 3.9 installed.

Licensing

This project is licensed under the 3-clause BSD license – see the LICENSE file.

Programmed by Vít Labuda.

About

A Python script for extracting information about Kaktus Dobíječka announcements

Topics

Resources

License

Stars

Watchers

Forks

Languages