<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Survivalengine2</title>
    <description>The latest articles on DEV Community by Survivalengine2 (@survivalengine2_e4d0166ad).</description>
    <link>https://dev.to/survivalengine2_e4d0166ad</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4186582%2F60c55c4e-de36-4394-abd6-1005a9e4743d.jpg</url>
      <title>DEV Community: Survivalengine2</title>
      <link>https://dev.to/survivalengine2_e4d0166ad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/survivalengine2_e4d0166ad"/>
    <language>en</language>
    <item>
      <title>Building a Resilient, Claude-Powered Web Scraper with YAML (Self-Hosted)</title>
      <dc:creator>Survivalengine2</dc:creator>
      <pubDate>Thu, 15 Oct 2026 10:50:02 +0000</pubDate>
      <link>https://dev.to/survivalengine2_e4d0166ad/building-a-resilient-claude-powered-web-scraper-with-yaml-self-hosted-1c2f</link>
      <guid>https://dev.to/survivalengine2_e4d0166ad/building-a-resilient-claude-powered-web-scraper-with-yaml-self-hosted-1c2f</guid>
      <description>&lt;h3&gt;
  
  
  The Problem with Traditional Web Scraping
&lt;/h3&gt;

&lt;p&gt;If you've maintained web scrapers at scale, you know the routine: a site updates its layout, class names change, and your XPath or CSS selectors instantly break. You end up spending more time fixing broken selectors than actually using the extracted data.&lt;/p&gt;

&lt;p&gt;While cloud-based AI scrapers exist, they usually come with heavy monthly subscriptions and usage caps. &lt;/p&gt;

&lt;p&gt;I wanted a solution that was &lt;strong&gt;resilient&lt;/strong&gt;, &lt;strong&gt;self-hosted&lt;/strong&gt;, and &lt;strong&gt;cost-effective&lt;/strong&gt;. That’s why I built &lt;strong&gt;HYAE&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  What is HYAE?
&lt;/h3&gt;

&lt;p&gt;HYAE is a self-hosted, YAML-driven scraping engine powered by Claude AI. Instead of hardcoding fragile DOM selectors, you define your target output structure in a simple YAML config, and Claude handles the extraction from raw HTML.&lt;/p&gt;

&lt;p&gt;Key features include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;YAML Configuration:&lt;/strong&gt; Define clean target schemas without writing complex parsing scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude-Powered Parsing:&lt;/strong&gt; Adapts gracefully when underlying site layouts or class names shift.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Polite Crawling Defaults:&lt;/strong&gt; Native support for &lt;code&gt;robots.txt&lt;/code&gt;, custom crawl delays, and rate limits to respect target servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bring Your Own Key (BYOK):&lt;/strong&gt; Run it locally or on your own server using your own Anthropic API key. You only pay for the exact tokens you use without recurring platform markups.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  How It Works
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Define Your Schema:&lt;/strong&gt; Create a simple YAML file specifying the fields you want to extract (e.g., product titles, prices, specs).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run the Engine:&lt;/strong&gt; HYAE fetches the page politely according to defined rate limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured Output:&lt;/strong&gt; Claude parses the raw HTML and returns structured JSON or CSV data ready for your pipeline.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Building in Public
&lt;/h3&gt;

&lt;p&gt;HYAE is launching on &lt;strong&gt;Product Hunt next Tuesday, October 20th&lt;/strong&gt; for a one-time £29 license. &lt;/p&gt;

&lt;p&gt;I’d love to hear how fellow developers are handling fragile scraping pipelines or if you've tried using LLMs for DOM parsing in your own workflows!&lt;/p&gt;

&lt;p&gt;Check out the site here: &lt;a href="https://survivalengine2.co.uk" rel="noopener noreferrer"&gt;https://survivalengine2.co.uk&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
