Spaces:
Sleeping
Sleeping
Claude
Claude Sonnet 5
Add rate limiting, tests, better extraction, and HF auto-deploy
ebab0e2 unverified Download tests/fixtures/clutter_article.html from Almaatla/web-scraper: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/Almaatla/web-scraper/resolve/main/tests/fixtures/clutter_article.html
- Command line
-
hf download hf://spaces/Almaatla/web-scraper/tests/fixtures/clutter_article.html
-
curl -L -o clutter_article.html https://huggingface.co/spaces/Almaatla/web-scraper/resolve/main/tests/fixtures/clutter_article.html
1.11 kB
| <html lang="en"> | |
| <head> | |
| <title> My Great Article Title </title> | |
| <style>.x{color:red}</style> | |
| <script>console.log("track")</script> | |
| </head> | |
| <body> | |
| <header id="site-header"> | |
| <nav class="main-nav"><a href="/">Home</a> | <a href="/about">About</a></nav> | |
| </header> | |
| <div class="banner ad-slot">Buy our stuff now! Limited offer.</div> | |
| <aside class="sidebar"> | |
| <div class="newsletter-signup">Subscribe to our newsletter</div> | |
| </aside> | |
| <main> | |
| <article> | |
| <h1>My Great Article Title</h1> | |
| <p>This is the real first paragraph of the article with substantive content that a reader actually wants.</p> | |
| <p>This is the second paragraph, continuing the actual story with more detail and useful information for the reader.</p> | |
| <p>A third paragraph wraps up the article with a conclusion that ties the whole piece together nicely.</p> | |
| </article> | |
| </main> | |
| <div class="social-share">Share on Twitter | Share on Facebook</div> | |
| <footer class="site-footer"> | |
| <p>Copyright 2026. All rights reserved.</p> | |
| </footer> | |
| <!-- tracking comment --> | |
| </body> | |
| </html> | |