GithubHelp home page GithubHelp logo

motorsport_cal's Introduction

Motorsport Calendar

A python script that scrap the websites of the different motorsport series :

and add requested motorsport event to a google calendar.

Required

The prerequisites and the first step of this quickstart here.

Also run in terminal :

pip3 install dateparser
pip3 install beautifulsoup4==4.10.0
pip3 install requests
pip3 install rich

Copy the credential .json file in the project directory and rename it credential.json.

Before first run

In the choices.json file, set to true the motorsport series for which one you want to add events to your calendar.

You can add the id of a particular google calendar in the config.json file.

On first run

It will open a navigator window to allow your Google Cloud Project to access your Google Calendar.

Then

On each run, the script will check if there are new confirmed events on the website and will add to your calendar.

You can change the motorsport series in the config.json file at any moment.
If setting one from true to false, upcomming events for this serie will be removed from your calendar.

Subscriptions

For those who just want to subscribe to some calendars and add theme to your own calendar, you can download these .ics subscription links:

motorsport_cal's People

Contributors

oxyeez avatar

Stargazers

 avatar  avatar Alexandre Halopé avatar Simon Duperray avatar

Watchers

 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.