Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snimmagadda1/valorant-match-ics-creator
Automatically scrape vlr.gg and export matches of interest to .ics
https://github.com/snimmagadda1/valorant-match-ics-creator
calendar nodejs valorant webscraping
Last synced: about 1 month ago
JSON representation
Automatically scrape vlr.gg and export matches of interest to .ics
- Host: GitHub
- URL: https://github.com/snimmagadda1/valorant-match-ics-creator
- Owner: snimmagadda1
- Created: 2024-06-10T23:29:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-11T21:48:46.000Z (8 months ago)
- Last Synced: 2024-10-24T09:26:14.923Z (3 months ago)
- Topics: calendar, nodejs, valorant, webscraping
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Valorant Match .ics Creator
👋
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)> Super quick tool to export vlr.gg match data to ics for view in personal calendars
I honestly just got tired of checking the schedule and seeing results spoiled online.
## Install
```sh
npm install
```## Usage
```sh
node index.js
```
verify creation of the file `Vlrgg.ics` in the project root and use!## FAQ
Currently this is set to grab posted NA & EMEA matches (b/c they're what I can feasibly watch). It can be expanded to other regions/leages by updating the league search keys:
```
const EMEA_TITLE_PREFIX ='Champions Tour 2024: EME';
const NA_TITLE_PREFIX ='Champions Tour 2024: North Americ';
```and the function `shouldExport(..)`:
```
const shouldExport = (matchInfoElementNodes) => {
return matchInfoElementNodes.find(
(c) =>
c.type === "text" &&
(c.data.trim().startsWith(EMEA_TITLE_PREFIX) ||
c.data.trim().startsWith(NA_TITLE_PREFIX))
);
};
```## Author
👤 **Sai N. Nimmagadda**
* Website: https://s11a.com
* Github: [@snimmagadda1](https://github.com/snimmagadda1)## Show your support
Give a ⭐️ if this project helped you!
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_