Scraping the Phoenix Public Library Website
Thank you Tolga Kaya (Upwork). How I Built a Python Scraper for Phoenix Public Library — Without a Browser (So you don't have to make selections manually and click the "Next" button after going through a 100 listings :) A step-by-step guide to reverse-engineering a web app's network requests and automating library catalog searches. The Problem The Phoenix Public Library catalog lets you search for books by title. But when you search for "magic" with Search by: Title , the results include books where "magic" only appears in the series name — not the actual book title. For example: ❌ "A bossy bad day" — keyword is in Series: Williams, Zanaiah Boss Magic ❌ "Found" — keyword is in Series: Prineas, Sarah. Magic Thief ✅ "Magic" — keyword IS in the actual title ✅ "The Magic Tree House" — keyword IS in the title The manual approach: search, change results per page to 100, scroll through hundreds of pa...