Commit Graph
2 Commits
Author SHA1 Message Date
gabby 52346baf52 gutendex: send a User-Agent (Cloudflare 403s the default urllib agent)
Gutendex.com sits behind Cloudflare, which rejects urllib's default
`Python-urllib/<ver>` User-Agent with HTTP 403. Both skills therefore failed
on their first real call ("could not reach the Gutendex catalog ... HTTP Error
403"); the hermetic loopback tests cannot catch this by design.

Send an identifying `USER_AGENT` on every request (the /books catalog lookup
and the plain-text download) and assert it in each skill's test so the
regression is caught locally.

Verified with a real run: find_books returned 41 live results for
"jane austen"; read_book downloaded and saved Pride and Prejudice (1342).
2026-10-17 08:18:13 +00:00
agent 9a41f66fd6 gutendex: add Project Gutenberg pack (find books, read full text) 2026-10-13 17:27:04 +00:00