Skip to content

A CLI tool written in Go for extracting images from a webpage. Given a URL, it fetches the HTML, parses it, and downloads all the images found on the page.

License

Notifications You must be signed in to change notification settings

thestuti/scrapimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

███████  ██████ ██████   █████  ██████  ██ ███    ███  ██████  
██      ██      ██   ██ ██   ██ ██   ██ ██ ████  ████ ██       
███████ ██      ██████  ███████ ██████  ██ ██ ████ ██ ██   ███ 
     ██ ██      ██   ██ ██   ██ ██      ██ ██  ██  ██ ██    ██ 
███████  ██████ ██   ██ ██   ██ ██      ██ ██      ██  ██████  


A CLI tool written in Go for extracting images from a webpage. Given a URL, it fetches the HTML, parses it, and downloads all the images found on the page.


Installation

git clone github.com/thestuti/scrapimg
go run src/main.go


Usage

Flag Description Example
-h Display help related to usage go run src/main.go -h
-u Extract images from the url go run src/main.go -u https://example.example.com
-l Path where you want images to be stored go run src/main.go -l /path/to/save/location
-f File where different urls are stored go run src/main.go -f urls.txt

About

A CLI tool written in Go for extracting images from a webpage. Given a URL, it fetches the HTML, parses it, and downloads all the images found on the page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published