38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
# scrapychan
|
|
|
|
## Description
|
|
scrapychan is a Go rewrite of the original [scraperchan](https://git.protron.dev/Doc/scraperchan) that I wrote in Python. There was no reason to rewrite the original program, but at least it is faster and I learned some Go.
|
|
|
|
## Install
|
|
|
|
### Build from Source
|
|
#### Dependencies
|
|
You just need to have [Go](https://go.dev/doc/install) installed.
|
|
|
|
#### Build
|
|
```bash
|
|
git clone https://git.protron.dev/Doc/scrapychan
|
|
cd scrapychan
|
|
go build
|
|
go install
|
|
```
|
|
|
|
### Pre-built Binaries
|
|
Alternatively, use the binaries provided in the [release section](https://git.protron.dev/Doc/Scrapychan/releases)
|
|
|
|
## Example Usage
|
|
```bash
|
|
# Download images from a thread to current directory with verbose logging
|
|
scrapychan -u="https://boards.4chan.org/b/thread/123456789" -v=true
|
|
|
|
# Download images from a thread to specific directory
|
|
scrapychan -u="https://boards.4chan.org/g/thread/987654321" -o="/home/user/4chan_images"
|
|
```
|
|
|
|
## Features
|
|
- Fast concurrent downloading of images and videos
|
|
- Support for 4chan's API
|
|
- Verbose logging option
|
|
- Cross-platform compatibility
|
|
- Error handling and recovery
|
|
- Automatic directory creation |