https://github.com/kkdai/iloveptt
我愛批踢踢 A PTT Crawler and Photo downloader which written in Golang
https://github.com/kkdai/iloveptt
golang ptt ptt-crawler
Last synced: 6 months ago
JSON representation
我愛批踢踢 A PTT Crawler and Photo downloader which written in Golang
- Host: GitHub
- URL: https://github.com/kkdai/iloveptt
- Owner: kkdai
- License: mit
- Created: 2015-07-21T06:41:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-11T06:56:26.000Z (8 months ago)
- Last Synced: 2025-04-19T20:17:14.370Z (6 months ago)
- Topics: golang, ptt, ptt-crawler
- Language: Go
- Homepage:
- Size: 3.25 MB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
iloveptt 我愛批踢踢
======================
[](https://raw.githubusercontent.com/kkdai/iloveptt/master/LICENSE) [](https://www.travis-ci.com/github/kkdai/iloveptt) 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.
- It support multiple platform such as "Windows 8.1" and "MacOS X".
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
---------------- `-w` number of workers. (concurrency), default workers is "25"
Interactive Command
---------------It support command line interactive command as follow:
- `n`: Display next page aticles.
- `p`: Display previous page articles.
- `o`: Open content folder in finder.
- `d` number: Download article image with specific index, currently it support single index.
- `quit`: Exist current application.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
---------------
TODOs
---------------Welcome to file your suggestion in issues.
Inspired
---------------This project inspired from [https://github.com/tzangms/iloveck101](https://github.com/tzangms/iloveck101). And I refer those implements as follow:
- Photo download and CLI: [https://github.com/lazywei/iloveck101](https://github.com/lazywei/iloveck101)
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](https://github.com/kkdai/goInstagramDownloader)
An Facebook Album downloader also here. [https://github.com/kkdai/goFBPages](https://github.com/kkdai/goFBPages)
Advertising
---------------If you want to browse facebook page on your iPhone, why not check my App here :p [粉絲相簿](https://itunes.apple.com/tw/app/fen-si-xiang-bu/id839324997?l=zh&mt=8)
Gomobile for iloveptt?
---------------Check my new package [PhotoMgr](https://github.com/kkdai/photomgr) if you want to use in iOS/Android.
A simple iOS App for this is on [PhotoViewer](https://github.com/kkdai/PhotoViewer)
Project52
---------------It is one of my [project 52](https://github.com/kkdai/project52).
License
---------------This package is licensed under MIT license. See LICENSE for details.