Git Product home page Git Product logo

pttautogivep's Introduction

PttAutoGiveP

介紹

因為平時有在Ptt發錢的需求,所以就試著自己用python寫一個發錢的程式。

主要是使用 PTTLibrary 跟 beautifulSoup 來完成這項功能

用 BeautifulSoup 去所輸入的網址抓取全部的推文名單以及文章內容

再依照所選的模式,篩選出要發的人

最後在用 PttLibrary 連進 ptt 發錢

版本

Version 3.1.1

更新內容

Version 1.0.1: 最初版本

Version 2.0.0: 新增使用者介面

Version 3.0.0: 改用ssh加密連線

Version 3.1.0: 新增自動編輯文章功能

Version 3.1.1: 修正時間位置問題,看板位置問題

使用須知

1.在 terminal 輸入 python3 PttAutoGive.py 來開啟程式

2.發錢會從第一個開始,不管是選擇什麼模式,都會從開模式中的第一個人開始發起, 不能選擇要從第幾個到第幾個,像是第二個推到第四個推這樣。

3.輸入的金額是發稅後的

假如輸入30元,就是對方會收到30P幣,自己是支出34P。

4.是以ssh連線進入Ptt

5.若有任何bug,歡迎告知

已知問題

  1. 若有推文有顯示ip位置的話,會連ip位置的顏色一起改到

  2. 內文會多一行

  3. 重複對同一篇文章使用會有Bug

TODO List

修掉上面的問題,以及添加新功能

需求

Python3, PTTLibrary

免責聲明

本人不對發錯錢或是發錢失敗負責任,也不對帳號安全進行負責。

若有發生多發錢,或是發錯人等問題,請自行負責及自行吸收損失

pttautogivep's People

Contributors

iamch15542 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.