img-scrape
v1.1.0
Published
Scarp Iamges ------------
Downloads
2
Readme
Scarp Iamges
- This project is a CLI tool for scrapping images from a given url.
Main flow
How does the tool work?
- The CLI will be invoked with a valid http url.
- The tool will load the content of the URL.
- Once the content is loaded it will create folder for storing the images.
- From the ocntent the tool will scrap and extract all he images.
- Once the images are extracted the tool will print out the reply.
What does the tool return?
- The CLI will return the following:
- A html page with the images preview.
- Each preview has max width of 120px.
- A folder with all the scraped images.
- A html page with the images preview.
Usage:
node scrapit
<url> The url to load images from
<folder name> The folder where the images will be stored
Examples:
node scrapit http://a.com folder
Reply
...
<img src="....">
<img src="....">
<img src="....">
...