- Notifications
You must be signed in to change notification settings - Fork0
A simple CLI tool to fetch resources from any website.
License
debanshup/savesrc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
savesrc is a command-line tool that dynamically fetches and saves various resources (like HTML documents, JavaScript files, CSS stylesheets, and images) from a specified webpage.
- Process HTML Documents: Fetch and save HTML documents.
- Process JavaScript Files: Fetch and save JavaScript files.
- Process CSS Stylesheets: Fetch and save CSS stylesheets.
- Process Images: Fetch and save images from the webpage.
- Process All Resources: Fetch and save all supported resource types.
npm install -g savesrc
Process HTML Documents:
savesrc -d
Process JavaScript Files:
savesrc -s
Process CSS Stylesheets:
savesrc -st
Process Images:
savesrc -im
Process All Supported Resources (Default):
savesrc -a
Option | Description |
---|---|
-d, --document | Process HTML documents |
-s, --script | Process JavaScript files |
-st, --style | Process CSS stylesheets |
-im, --image | Process images |
-a, --all | Process all supported resource types (default) |
-v, --version | Show version information |
-h, --help | Display help message |
Process only HTML documents:
savesrc -d"http://example.com"
Process JavaScript and CSS files:
savesrc -s -st"http://example.com"
Process all resource types (default):
savesrc -a"http://example.com"
or
savesrc"http://example.com"
This project is licensed under the ISC License. See theLICENSE file for details.
Contributions are welcome! Feel free to submit a Pull Request. See theCONTRIBUTING section for more details.
For any inquiries or issues, please reach out todebanshupanigrahi53605@gmail.com.
About
A simple CLI tool to fetch resources from any website.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.