A command-line tool to clone any website's front end
Project description
StaticScrape
📌 Description
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.
🚀 Features
- 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.
🛠 Installation
You can install StaticScrape using pip:
pip install StaticScrape
After installation, ensure Playwright is set up for browser automation:
playwright install
📝 Usage
Run StaticScrape from the command line:
staticscrape
💡 Example
staticscrape
Enter URL: https://example.com
Enter output file name: my_clone
✅ Page saved as my_clone.html
🤝 Contributing
Feel free to contribute! If you find a bug or have a feature request, open an issue or submit a pull request.
📜 License
This project is licensed under the MIT License.
👤 Author
Anurag Singh Bhandari
📧 anuuo3ups@gmail.com
Happy Scraping! 🚀
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file staticscrape-0.2.1.tar.gz.
File metadata
- Download URL: staticscrape-0.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd377af732bf7a33991d9988bf9c296110202b514c07ef33111e6f0fc5963751
|
|
| MD5 |
522b33706e288d1cc69a54cee39e6925
|
|
| BLAKE2b-256 |
4da53f5b29280e8821371fe2ad4a00c2a2c43608ba0a88faf098cdb434170700
|
File details
Details for the file staticscrape-0.2.1-py3-none-any.whl.
File metadata
- Download URL: staticscrape-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
060851dc38e1d6a559bf7130454cf38f7aad6fef1cfb786bab6da30452ea9acc
|
|
| MD5 |
a572e6c3d0ba04716f9b62cca515476c
|
|
| BLAKE2b-256 |
bef3752413b2abeb9419baa7e6e2bdd1ed21585653d3fb18f0dcabfa6c25ef9b
|