Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lesterrry/campfire
Shock-drop watching utility
https://github.com/lesterrry/campfire
crawler parser web-crawler web-parser
Last synced: 5 days ago
JSON representation
Shock-drop watching utility
- Host: GitHub
- URL: https://github.com/lesterrry/campfire
- Owner: lesterrry
- Created: 2021-02-26T14:46:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T12:36:15.000Z (about 1 year ago)
- Last Synced: 2024-04-20T16:53:46.627Z (7 months ago)
- Topics: crawler, parser, web-crawler, web-parser
- Language: Python
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔥 Campfire
![Platform](https://img.shields.io/badge/platform-Unix-gray)
## What is it
Campfire monitors the internet and informs you about any changes
## How to use
1. Clone the repo
2. Copy `config_example.yaml` to `config.yaml` and edit it
3. Modify `index.yaml` (see [Index file syntax](#index-file-syntax))
## Index file syntax
I'm too lazy to explain everything thoroughly, so just examine the file and scripts if you like\
__Ceremonies:__
1. `code-check`: watching for http status code to change\
Props:
- `url` – site url
2. `class-check`: watching for html class' property to change\
Props:
- `url` – site url
- `status_class` – html class to watch
3. `lookup`: watching if a specific key exists within the website text\
Props:
- `url` – site url
- `key` – needle to look for
4. `osa-lookup` (experimental): looking for keys using AppleScript\
Props:
- `url` – site url
- `soldout_key` – text which says the item is gone
- `in_stoke_key` – text which says the item is there