Skip to content

A simple Python script to fetch PTT post from the command line.

License

Notifications You must be signed in to change notification settings

tsoliangwu0130/ptt-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptt-search MIT licensed

A simple Python script to fetch PTT post from the command line.

Usage

  1. To install all dependencies, simply run:
$ pip install -r requirements.txt
  1. Fetch posts
$ python ptt-search.py -b 'gossiping' -k '新聞 iPhone 蘋果'

Options

Usage: ptt-search.py [options]

Options:
  -h, --help         show this help message and exit
  -b <board name>    search posts in a board (required)
  -k <keywords>      search posts with keywords (separate keywords with space)
  -n <rsult amount>  search how many posts
  -z <push amount>   search posts with push more than an amount

About

A simple Python script to fetch PTT post from the command line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages