Skip to content

xizhonghua/yssybbsuploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

YSSY BBS Uploader

Features

  • Upload images/files to YSSY BBS
  • Post with content and links to all uploaded files
  • Auto resize images with filesize > 1MB (BBS limit)

Usage

./bbsupload.py [options] [file1 file2 file3...]

Accounts

To prevent credential leakage, account will be loaded from a json file (default is account.json) in following format

{
  "id": "your_id",
  "pw": "your_pw"
}

Options

  -a, --account   account filename. default is "account.json"
  -b, --board:    board to upload/post. default is "PPPerson"
  -t, --title:    post title. default is "noname"
  -c, --content:  content of the post. default is empty
  -n, --no-ad:    post without ad
  -s:             use single thread. default uses 4 threads
  -u, --up-only   upload only, do not post
  -h, --help:     print usage

Example

./bbsupload.py -b test -t "中文标题" -c "中文内容" ~/Pictures/*.jpg

Dependencies

TODO

  • (done) auto resize large image
  • (done) multi-thread uploading

Contact

  • Zhonghua Xi (xxfflower@YSSY)
  • xizhonghua (at) gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages