https://github.com/creativeprojects/gallery-downloader
Simple gallery downloader in go
https://github.com/creativeprojects/gallery-downloader
downloader gallery
Last synced: 11 months ago
JSON representation
Simple gallery downloader in go
- Host: GitHub
- URL: https://github.com/creativeprojects/gallery-downloader
- Owner: creativeprojects
- License: mit
- Created: 2020-03-28T01:07:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T22:46:13.000Z (about 1 year ago)
- Last Synced: 2025-01-03T23:27:31.377Z (about 1 year ago)
- Topics: downloader, gallery
- Language: Go
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gallery Downloader
Simply download all pictures from a web page
## Usage
### From a remote web page
```
gallery-downloader -source https://website.example.com -output ~/all-images/
```
### From a local web page
```
gallery-downloader -source ./example.html -referer https://website.example.com/ -output ~/all-images/
```
## Galleries
### Type "AnchorHREF"
It downloads all the linked pictures from these HTML tags:
```html
picture 1
picture 2
```
### Type "ListItem"
It simply downloads all the linked pictures from these HTML tags:
```html


```
## Flags
```
-base string
base URL when downloading relative images
-config string
configuration file (default "config.json")
-insecure-tls
Skip TLS certificate verification. Should only be enabled for testing locally
-max-wait int
wait n milliseconds maximum before downloading the next image. Use 0 to deactivate (default 3000)
-min-wait int
wait n milliseconds minimum before downloading the next image. Use 0 to deactivate (default 1000)
-output string
output folder to store pictures
-password string
password (if the http server needs basic authentication)
-referer string
referer header for HTML file, or for downloading images from a local HTML file
-source string
source HTML gallery
-type string
type of gallery (AutoDetect, AnchorHREF, ListItem) (default "AutoDetect")
-user string
user (if the http server needs basic authentication)
```