1.1.0 • Published 6 years ago

img-scrape v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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.

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="....">
...