GoScrapey

command module
v0.0.0-...-d3855e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

README

GoScrapey CodeScan Go Report Card codebeat badge

Go tool that scrapes images from websites and downloads them locally or uploads them to Imgur.

Uses cobra and go-homedir

Install

go build .

Or use the Makefile provided:

make build will build the tool and place the binary in the folder bin as scrapey.

Usage

scrapey https://www.google.com/ will download the images from google.com and place them in a default location (home directory).

You can also use the -d (--directory) flag to place the images in another location. The -u flag will upload all images to an imgur album.

Note: The tool needs a Client-ID, which it reads from a file (ID.txt) placed in the root of the project. You need to supply your own Client-ID, which could be retrieved from the official Imgur api if you are going to make changes or do not want to use the already build file.

Contribution

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL