Skip to content

Commit 1fffc3e

Browse files
committed
feat: replace brittle DOM scraper with RSS-first parser and semantic HTML fallback
- Prioritize NASA official RSS feed (https://science.nasa.gov/feed/apod-basic/) - Semantic fallback parser for science.nasa.gov/apod/ without fragile class chains - Delete legacy 1995-era center tag scraping logic - Universal explanation prefix and boilerplate stripping - Add validation guard in fetchAPOD preventing empty explanation emails - Add comprehensive test coverage for RSS, date filtering, and fallback flows
1 parent 36006d6 commit 1fffc3e

6 files changed

Lines changed: 346 additions & 238 deletions

File tree

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,5 @@ email_preview.html
155155

156156
# Python venv
157157
venv/
158-
venv311/
158+
venv311/
159+
.gstack/

0 commit comments

Comments
 (0)