Configuring a Versatile LLM Harness & Scraping the Web With Scrapy  | Real Python Podcast #304 @realpython
Configuring a Versatile LLM Harness & Scraping the Web With Scrapy  | Real Python Podcast #304  @realpython
Uploaded July 2026 | Updated September 2026, 2 weeks ago
Which is more important, the model or the "harness" around an LLM? What are ways to assemble an efficient agentic developer workflow? This week on the show, Ayan Pahwa joins us to discuss harnessing, web scraping, and self-hosting Python applications.

πŸ‘‰ Links from the show: realpython.com/podcasts/rpp/304

Ayan is a developer advocate at Zyte and an experienced project builder. We discuss a recent article he wrote about creating an extension for the web scraping tool Scrapy. He also digs into his self-hosting setup for Python applications and tools.

Our discussion extends to the complexities of developing effective harnesses. Ayan shares his setup and how he navigated shifting from prompt engineering to context and loop engineering.

This episode is sponsored by [HydraDB](hydradb.com/?utm_source=real-python&utm_medium=real%20python&utm_campaign=dev-tool-listing&utm_content=podcast).

Topics:

- 00:00:00 -- Introduction
- 00:02:01 -- Scrapy and building an extension
- 00:08:46 -- Zyte and the web scraping API
- 00:11:19 -- Sponsor: HydraDB
- 00:12:22 -- noalgotube project
- 00:15:49 -- Homelab & self hosting projects
- 00:22:19 -- What goes into a harness?
- 00:32:33 -- Where did you start exploring LLM tools?
- 00:36:13 -- Local models & edge computing
- 00:39:31 -- ExtractPod and discussing Apple's AI
- 00:43:35 -- Video Course Spotlight
- 00:44:54 -- Managing token use and tools
- 00:52:37 -- What are you excited about in the world of Python?
- 00:55:10 -- What do you want to learn next?
- 00:56:38 -- What is the best way to follow your work online?
- 00:56:58 -- Thanks and goodbye

πŸ‘‰ Links from the show: realpython.com/podcasts/rpp/304

Download your free Python Cheat Sheet here: realpython.com/cheatsheet
Free Python Skill Test with instant level + learning plan: realpython.com/skill-test
Want to learn faster? Become a Python Expert with unlimited access to 5,000+ tutorials, videos, and exercises: realpython.com/start

🐍 Become a Python expert with real-world tutorials, on-demand courses, interactive quizzes, and 24/7 access to a community of experts at realpython.com

β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°
🐍 Start Here β†’ realpython.com/start
πŸ—ΊοΈ Guided Learning Paths β†’ realpython.com/learning-paths
🎧 Real Python Podcast β†’ realpython.com/podcast

πŸ“š Python Books β†’ realpython.com/books
πŸ“– Python Reference β†’ realpython.com/ref
πŸ§‘β€πŸ’» Quizzes & Exercises β†’ realpython.com/quizzes

πŸŽ“ Live Courses: realpython.com/live
⭐️ Reviews & Learner Stories: realpython.com/learner-stories
β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°
Configuring a Versatile LLM Harness & Scraping the Web With Scrapy  | Real Python Podcast #304Reassessing the LLM Landscape & Summoning Ghosts | Real Python Podcast #291Rust vs Python: Why Rust Code Has No BugsProgrammers Do Their Best Work Away From the DeskBuilding Type-Safe LLM Agents With Pydantic AI: Setting Up & Getting Structured Output From LLMsThe Best Manager I Had Wasnt TechnicalGood Friction vs Bad FrictionParquet Format: Typed Columns and CompressionAI Agents Can Live Inside Your Python NotebookBoost Your Python Skills Live – Flexible 8-Week Beginner CourseAgentic Architecture: Why Files Arent Always Enough | Real Python Podcast #295Profile Your Python Code for Speed and Memory
Real Python |

Configuring a Versatile LLM Harness & Scraping the Web With Scrapy | Real Python Podcast #304

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER