/upcoming-releases-widget

A Ruby script that scrapes the upcoming-releases wiki and adds the entries to Google Calendar.

Primary LanguageRubyThe UnlicenseUnlicense

/r/kpop Upcoming Releases Script (WIP)

A Ruby script that scrapes the upcoming-releases wiki and adds the entries to Google Calendar.

Requirement

  • Ruby 2.5+

  • RubyGems

  • Bundler

Installation

  • Git pull

  • bundler install --path vendor/bundle

Configuration

Copy config.sample.toml as config.toml, and fill out with the keys required by Google Calendar API. Refresh token should be generated by bundle exec ruby obtain_refresh_token.rb before running the script.

Caveat

The script is unable to make a change on any entry's title.

Progress

  • Upcoming-releases wiki scraping and input formatting

  • Google Calendar automatic addition

  • Database of added entries' ID for updating purposes