Home

Awesome

webpic: [網頁抓圖小幫手] Download all images from web site.

GitHub license Build Status

中文說明: (Chinese Description)

[網頁抓圖小幫手] 是一個可以幫你抓取所有網頁上所有圖片的. 這個小幫手主要有以下功能:

歡迎各位幫助提供更多的解析方式在我們的Parser.json設定

Description

[WebPic]: A website image downloader to parse whole content on website and download and store all images.

It shpport following features.

How to Install

go get -u -x github.com/kkdai/webpic

Usage

webpic -u URL

All the photos will download to USERS/Pictures/iloveptt and it will separate folder by article name.

For Windows user, it will store in your personal pictures folder.

Options

Examples

Download all photos from Scottie Pippen facebook pages with 10 workers.

        //Run app to download url=http://ck101.com/thread-3282616-1-1.html
        webpic -u http://ck101.com/thread-3282616-1-1.html
        
        //Download image with URL with 10 running thread.
        webpic -u http://ck101.com/thread-2876990-1-1.html -w 10
        
        //Enable daemon mode 
        webpic -d
        >> Start watching clipboard.... (press ctrl+c to exit)
        
        //Update parser 
        webpic update
        >> Trying load local parser file
        >> Download new parser from github and update.
            

Support Websites

Currently WebPic support following website, welcome to file your request in issue, or submit your PR.

Please check our latest update parser file for more detail.

Known Issues on Go 1.4.2

You might get such error if you use go 1.4.2.

    jpgimage.Decode 
    error: unsupported JPEG feature: SOF has wrong length

It is known issue in Go 1.4.2 for CMYK image decode. Please upgrade to Go 1.5 to fixed this issue.

TODOs

Welcome to file your suggestion in issues.

Contribute

Please open up an issue on GitHub before you put a lot efforts on pull request. The code submitting to PR must be filtered with gofmt

Related Project

An Instagram photo downloader also here. https://github.com/kkdai/goInstagramDownloader

An Facebook Album downloader also here. https://github.com/kkdai/goFBPages

A Ptt web site crawler here. https://github.com/kkdai/iloveptt

Advertising

If you want to browse facebook page on your iPhone, why not check my App here :p 粉絲相簿

Project52

It is one of my project 52.

License

This package is licensed under MIT license. See LICENSE for details.