Skip to content

gwtale/ptt-article-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PTT Article Parser

一個用來分析 PTT 文章的工具。

Features

  • 根據文章標題,重新命名檔案名稱
  • 白金緩慢增加中

Dependencies

Install python 3. https://www.python.org/

Install docopt.

pip install docopt

Usage

Usage:
  pap.py rename [--format=<format>] <file>...
  pap.py --help
	
Options:
  -h --help             Show this.
  -f --format=<format>  Set output format. 
                        [default: [@board] @title by @author.@time.ans]

Example:

pap.py rename "file1" "file2" "file3"

Output screenshot

screenshot

Notes

About

A python tool to parse PTT articles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%