45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
# Simple Workflow: Create Alerts → Extract RSS Feeds
|
|
|
|
## Step 1: Create Alerts (You Do This)
|
|
|
|
1. Go to https://www.google.com/alerts
|
|
2. For each query from `queries_to_create.txt`:
|
|
- Click "Create an alert about..." textbox
|
|
- Paste the query
|
|
- Click "Show options"
|
|
- Select "RSS feed" from delivery dropdown
|
|
- Click "Create Alert"
|
|
- Repeat for next query
|
|
|
|
**Fast tip:** Keep `queries_to_create.txt` open in a side window for easy copy-paste!
|
|
|
|
## Step 2: Extract All RSS Feeds (I Do This)
|
|
|
|
After you've created all alerts:
|
|
|
|
1. **Open browser console** on https://www.google.com/alerts (F12 or Cmd+Option+I)
|
|
2. **Copy the JavaScript** from `scripts/extract-rss-from-page.js`
|
|
3. **Paste and run** in console (press Enter)
|
|
4. **Copy the JSON output** from console
|
|
5. **Run this command:**
|
|
```bash
|
|
echo '<paste-json-here>' | python3 scripts/extract-all-rss-batch.py
|
|
```
|
|
|
|
That's it! All RSS feeds will be saved to `rss-feeds.json`.
|
|
|
|
## Benefits
|
|
|
|
- ✅ You create alerts fast (manual is faster)
|
|
- ✅ I extract all RSS feeds in one batch (no clicking needed)
|
|
- ✅ Simple workflow: create → extract → done
|
|
- ✅ No automation complexity
|
|
|
|
## Files
|
|
|
|
- `queries_to_create.txt` - All queries ready to paste
|
|
- `scripts/extract-rss-from-page.js` - JavaScript to run in console
|
|
- `scripts/extract-all-rss-batch.py` - Updates rss-feeds.json with extracted feeds
|
|
- `rss-feeds.json` - Final output with all RSS feed URLs
|
|
|