StaticScrape is a command-line tool designed to clone the front end of any website effortlessly. It retrieves the HTML structure while removing unnecessary scripts to create a clean static version of the webpage.
- Extracts full HTML structure of a given website.
- Automatically removes unnecessary
<script>tags. - Uses Playwright to handle JavaScript rendering.
- Saves the cloned page as a static
.htmlfile. - Simple CLI interface for easy usage.
You can install StaticScrape using pip:
pip install StaticScrapeAfter installation, ensure Playwright is set up for browser automation:
playwright installRun StaticScrape from the command line:
staticscrapestaticscrape
Enter URL: https://example.com
Enter output file name: my_clone
✅ Page saved as my_clone.htmlFeel free to contribute! If you find a bug or have a feature request, open an issue or submit a pull request.
This project is licensed under the MIT License.
Anurag Singh Bhandari
📧 anuuo3ups@gmail.com
Happy Scraping! 🚀