Home

Awesome

iloveptt 我愛批踢踢

GitHub license Build Status Go

A ptt crawler client to browse broad news and download image if any default image in that article. This tool help you to download those photos for your backup, all the photos still own by original creator.

Install

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

Usage

iloveptt  

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

Interactive Command

It support command line interactive command as follow:

Examples

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

    //Run app.
    iloveptt -w=10
    
    0:[1★][正妹] 勇敢的女孩
    1:[0★](本文已被刪除) [ao3sm345]
    2:[0★](本文已被刪除) [chuhengyi820]
    3:[0★](本文已被刪除) [titan3417]
    4:[8★][公告] 不願上表特 & 優文推薦 & 檢舉建議專區
    ......
    >ptt>

    //Download index [5].
    d 5
    
    //quit application
    quit
 

Snapshot

image

TODOs

Welcome to file your suggestion in issues.

Inspired

This project inspired from https://github.com/tzangms/iloveck101. And I refer those implements as follow:

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

Advertising

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

Gomobile for iloveptt?

Check my new package PhotoMgr if you want to use in iOS/Android.

A simple iOS App for this is on PhotoViewer

Project52

It is one of my project 52.

License

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