
HotspottyScraper
July 30, 2024
HotspottyScraper
A Python script I built to automate fetching Helium hotspot rewards from Hotspotty. It scrapes reward data across IoT, Mobile, and HNT platforms, making it easier to track earnings.
What It Does
- Scrapes rewards for IoT, Mobile, and HNT platforms
- Extracts period and amount data
- Handles different reward display formats
- Works with any Hotspotty hotspot ID
How It Works
The script uses Selenium to interact with Hotspotty's web interface and BeautifulSoup to parse the reward data. It's designed to handle the site's dynamic content and different reward display formats.
from hotspot_scraper import get_hotspot_rewards
# Just pass your hotspot ID
rewards = get_hotspot_rewards("your_hotspot_id")
print(rewards)
Technical Bits
- Built with Python and Selenium
- Uses BeautifulSoup for HTML parsing
- Handles dynamic web content
- Supports multiple reward platforms
Why I Built It
I needed a reliable way to track my Helium hotspot rewards across different platforms. This tool automates the process of checking Hotspotty, saving time and making it easier to monitor earnings.
Future Ideas
- Add reward history tracking
- Support for multiple hotspots
- Export to CSV/Excel
- Email notifications