Coder Social home page Coder Social logo

ddddext's Introduction

DDDDEXT 網頁驗證碼自動輸入機器人

爬山想搶山屋/搶信用卡活動的登錄/掛號…都需要輸入驗證碼,透過 ddddocr 可以自動識別並輸入文字驗證碼。

售票系統的「驗證碼」機制會讓一般不會寫程式的民眾更難公平地購買到預期的門票。

台灣藝文活動的文創法第十條中的「不正方式」由於沒有明確定義,代表的是所有軟體都涉嫌違反。故在此呼籲大家,勿以身試法。

在整個網站裡出現的「搶票」指的是「非台灣的藝文活動或車票」。

作者沒有意圖要他人購得的票券進行加價轉售或是使用在違法的事情上,他人的行為並不在作者的意識支配範圍之內,作者不對他人的非法行為負責。

Download

(程式下載)

https://github.com/max32002/ddddext/releases

下載說明:

  • 目前有打包的「執行檔」,只有Windows 平台,其他作業系統需要使用原始碼來執行。當然Windows 平台也可以用原始碼執行 DDDDEXT.
  • 如果你是要用「原始碼」執行 DDDDEXT, 在透過git clone 或在github按下載原始碼的 zip檔。

Demo

(示範影片)

How to Use

(使用教學)

How to Execute Source Code

(透過原始碼的執行方法)

DDDDEXT 可以不安裝就在各個平台的 chrome 瀏覽器上執行,使用方式先從 gibhub 是先下載原始檔的zip 檔, 並解壓縮, 在 chrome 瀏覽器的網址輸入 chrome://extensions, 右邊啟用 Developer mode,就可以 Load unpacked extension. 擴允功能的目錄在 /ddddext/webdriver/ 目錄下.

透過原始碼執行ddddext教學影片: https://youtu.be/HpVG91j0lbI

使用原始碼的解法,第一步是先取得原始碼後,開啟 Terminal(終端機) 視窗來下指令,應該是4行指令就可以了。

Step 1: 取得source code:

git clone https://github.com/max32002/ddddext.git

Step 2: 進入 clone 的資料夾: ddddext:

cd ddddext

Step 3: 安裝第三方套件:

python3 -m pip install -r requirement.txt

Step 4: 執行設定介面主桯式:

python3 start.py

不管是 macOS 還是 Windows 預設都是沒有 git 這個指令,如果 Step 1 執行後, 沒有檔案被下載, 請先安裝 git 到你的作業系統。或是使用github 網頁裡的 Download 功能把python 腳本下載。

如果你選擇下載 github 上的 zip 檔, 在 Step 2 進入目錄的指令可能會遇到問題, 因為「直接解壓縮」後的目錄名稱並不是 ddddext 而是 ddddext-main, 你在進入的資料夾名稱, 需要調整為你實際解壓縮後的目錄名稱。

透過瀏覽器下載 github 上的 zip 檔, 在 Windows / macOS / Linux 平台, 預設的路徑在「下載」(~/Download) 的資料夾, 你在執行的 Terminal 視窗的路徑, 與你解壓縮的路徑可能不同, 直接執行上面的指令, 會無法進入到預期的資料夾內。

Q: 取得source code後跑出來fatal: destination path 'ddddext' already exists and is not an empty directory.想問是什麼意思?

A: 執行 git clone 2次, 重覆取得 source code, 才會有這個問題, 如果 ddddext 目錄已經存在, 直接 cd ddddext 就可以了。 如果你想把已下載的刪除, 可以直把把 ddddext 目錄刪掉即可。 如果你想更新 source code, 可以重新下載, 或是先 cd ddddext 目錄後, 再執行 git pull , 可以更新 source code 為新的版本。

PS:

  • 請先確定你的python 執行環境下已安裝 nodriver 及相關的套件,請參考 requirement.txt 檔案內容。

File Description

(檔案說明)

  • nodriver_ddddext.py : 使用的元件是nodriver,用來把擴充功能放進瀏覽器。
  • start.py : 編輯 settings.json 的 GUI 介面。提供圖片OCR功能給chrome擴充功能。

Extension Privacy

(DDDD Plus擴充功能隱私權政策)

產品如何收集、使用及分享使用者資料

  • 擴充取得會取得特定網頁內容, 並且自動輸入內容。

使用者資料的所有分享對象。

  • 擴充功能沒有分享使用者資料。

擴充功能主要功能:

  • 特定網頁支援驗證碼功能, 需要同時開啟 DDDDEXT 主程式。

ddddext's People

Contributors

max32002 avatar

Stargazers

洪邦仁 avatar  avatar SCL avatar  avatar  avatar

Watchers

 avatar Ramon Wu avatar

ddddext's Issues

拓元無法填入驗證碼

驗證碼圖片 selector:#TicketForm_verifyCode-image
輸入欄位 selector:#TicketForm_verifyCode
無法帶入驗證碼

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.