How rkr2025/kerala-gold-rate works
This repository publishes daily Kerala gold-rate updates and also contains a parallel fuel-price update flow. The principal workflow fetches rates from external pages, parses and formats them, and writes JSON snapshots; HTML files provide the apparent user-facing views. The scraper-to-source and scraper-to-data relationships are visible in the sampled Python files. HTML behavior and whether the pages load these JSON files were not sampled, so those links are shown as unverified.
Main entry points: scrape.py Gold-rate scraper · scrape_fuel.py Fuel-rate scraper · data.json Gold-rate data · data-fuel.json Fuel-rate data
Components 8
Rate collection
- Gold-rate scraper
scrape.py - Fuel-rate scraper
scrape_fuel.py
Rate snapshots
- Gold-rate data
data.json - Fuel-rate data
data-fuel.json
Web views
- Gold-rate page
index.html - Fuel-rate page
fuel.html
Other components
- Gold-rate source
- Petrol and diesel sources
Connections 6
- Gold-rate scraper → Gold-rate source: fetches rates
scrape.py - Gold-rate scraper → Gold-rate data: writes snapshot
scrape.py - Fuel-rate scraper → Petrol and diesel sources: fetches district rates
scrape_fuel.py - Fuel-rate scraper → Fuel-rate data: writes snapshot
scrape_fuel.py - Gold-rate page → Gold-rate data: may read
- Fuel-rate page → Fuel-rate data: may read