Discover Packages
github.com/thestuti/scrapimg
module
Version:
v0.0.0-...-d3f54dd
Opens a new window with list of versions in this module.
Published: Jun 28, 2023
License: MIT
Opens a new window with license information.
README
README
¶
███████ ██████ ██████ █████ ██████ ██ ███ ███ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██
███████ ██ ██████ ███████ ██████ ██ ██ ████ ██ ██ ███
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██████
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
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.