Code Monkey home page Code Monkey logo

tixcraft_bot's Introduction

Max搶票機器人

MaxBot是一個免費、開放原始碼的搶票機器人。祝您搶票成功。

MaxBot is a FREE and open source bot program. Good luck getting your expected ticket.

Download (搶票程式下載)

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

Demo (示範影片)

Max搶票機器人 (2023-05-23):ibon 允許不連續座位

https://youtu.be/A9EU7vgWBiQ

Max搶票機器人 (2023-05-22):遠大售票系統

https://youtu.be/mlc7_5O_nwg

Max搶票機器人 (2023-05-22):年代售票系統 / 新的關鍵字格式

https://youtu.be/gJo8rGQsyzY

Max搶票機器人 (2023-05-22):HKTicketing 快達票

https://youtu.be/U-Rx5RIMFOg

Max搶票機器人 (2023-04-24):優化KKTIX 推論驗證問題/示範多開.

https://youtu.be/Wn1qLz-Re8c

Max搶票機器人 (2023-04-15):ibon驗證碼

https://youtu.be/NmFd7uLptGA

Max搶票機器人 (2023-03-27):kktix無票時刷新頁面,暫停搶票程式

https://www.youtube.com/watch?v=4trNmMDntwM

Max搶票機器人 (2023-03-14):部份支援 ticketmaster

https://youtu.be/XHE0cxmN4WE

Max搶票機器人 (2023-03-02):澳門銀河購票無延遲

https://youtu.be/mFxzzWU4ksU

Max搶票機器人 (2023-02-25):ibon只搶限定的票價

https://youtu.be/ZtnAh-VY5qs

Max搶票機器人 (2023-02-25):透過cookie的ibonqware登入ibon

https://youtu.be/QnaCRQjAlng

Max搶票機器人 (2023-02-24):KKTix,無視窗模式,多設定檔管

https://youtu.be/QgLAHkJbhqQ

Max搶票機器人 (2023-02-22):拓元,無視窗模式

https://youtu.be/fkx0HGqTpTg

Max搶票機器人 (2023-02-19):拓元,從驗證問題猜測答案

https://youtu.be/5rOi56dNEs8

Max搶票機器人 (2023-02-16):拓元,從字典檔輸入驗證答案

https://youtu.be/TuacFXzuvlM

Max搶票機器人 (2023-02-10):自動登入/區域關鍵字增加開關

https://youtu.be/Ft2WIWglZ5E

Max搶票機器人 (2023-02-09):開啟Google OAuth網址

https://youtu.be/8PxOXsjuI5Q

Max搶票機器人 (2023-02-08):Edge瀏覽器WebDriver下載與設定

https://youtu.be/TzbBAEVVtoM

Max搶票機器人 (2023-02-08):修正寬宏售票「熱賣中」文字的誤判

https://youtu.be/Q6bISNSXaWw

Max搶票機器人 (2023-02-08):重新支援hkticketing

https://youtu.be/pk-7gIztB2Y

Max搶票機器人 (2023-02-03):優化KKTIX 推論驗證問題

https://youtu.be/I4OOTlgpsOA

Max搶票機器人 (2023-01-29):支援galaxymacau(澳門銀河)

https://youtu.be/yt7SkRvBujU

Max搶票機器人 (2023-01-22):hkticketing(快達票)

https://youtu.be/pZJlcMjayco

Max搶票機器人 (2023-01-17):優化URBTIX 被登出的問題

https://youtu.be/hBa_0fOBTl8

Max搶票機器人 (2023-01-14):優化KKTIX "演出日期"的驗證問題

https://youtu.be/ChmGZMaV2w8

Max搶票機器人 (2023-01-14) indievox 猜測驗證碼 / 視窗多開

https://youtu.be/O84H1wNO2_w

Max搶票機器人 (2023-01-12) tixcraft 猜測驗證碼後不送出

https://youtu.be/mVzyDUV8Mao

Max搶票機器人 (2023-01-11) tixcraft 自動輸入驗證碼

https://youtu.be/t1k0CvmBNhQ (macOS)

https://youtu.be/6JdEdcW8LtY (Windows)

Max搶票機器人 (2023-01-07):輸入驗證問題答案為"同意"

https://youtu.be/UgemzrsCC-M

Max搶票機器人 (2023-01-05):不等 cityline 的 10秒,直接重導網址

https://youtu.be/wGU4GJJ-ufw

Max搶票機器人 (2023-01-02):KKITX自動猜測驗證問題

https://youtu.be/7CtSVBGwx9I (macOS)

https://youtu.be/BcyfkXF2AJU (Windows)

Max搶票機器人 (2023-01-02):支援 ibon 售票系統

https://youtu.be/VaYc5GKk1Rk

Max搶票機器人 (2023-01-01):支援新版本的 cityline

https://youtu.be/R5LY7pJgAzI (macOS)

https://youtu.be/2UNaAEjysvk (Windows)

Max搶票機器人 (2023-01-01):支援新版本的 urbtix

https://youtu.be/_6jxqVC39x8 (macOS)

https://youtu.be/PWKBZ8aG9Rg (Windows)

Max搶票機器人 (2022-12-22):支援新版本的 cityline

https://youtu.be/KOhQ2XdfjjQ

Max搶票機器人 (2022-11-24):KKTix 支援避開「剩餘 1」的區域的功能。增加關鍵字#2 的欄位。

https://youtu.be/nupJlwRNOIA

Max搶票機器人 (2022-11-18):增加 adblock plus 的功能。輸入驗證碼時,會播放音效,在清票時很有幫功,不需要一直緊盯著螢幕。

https://youtu.be/Atujl8MPHQI

Max搶票機器人 (2022-11-06):優化kktix/拓元的關鍵字比對,修改為不區分逗號、空格與大小寫。

https://youtu.be/v9mI02kVaNw

Max搶票機器人 (2022-10-22):優化kktix/拓元的價格的關鍵字比對。

https://youtu.be/NZzQcDQkrNI

Max搶票機器人 (2022-10-21):針對kktix 活動增加第二個關鍵字欄位。

https://youtu.be/x-OdqvUupiA

Max搶票機器人 (2022-01-26):FamiTicket

https://youtu.be/ZV-G91FHVik

Max搶票機器人 (2022-03-24):

https://youtu.be/AmOYg8Oj0qM

How to use (如何使用)

How to execute source code (透過原始碼的執行方法)

1: download chromedrive to "webdriver" folder: http://chromedriver.chromium.org/downloads

change the chromedrive in chrome_tixcraft.py, source code: chromedriver_path =Root_Dir+ "webdriver/chromedriver" the default path is the script path + "webdriver/chromedriver", My suggestion is to create a new directory, then move the chromedrive under new folder.

2: python3 -m pip install -r pip-req.txt

3: python3 settings.py

PS:

  • this script only running in python3. (原始碼只可以在 python3 下執行。)
  • 請先確定你的python 執行環境下已安裝 selenium 及相關的套件,請參考 pip-reg.txt 檔案內容。
  • 如果是 2022-09-13 之前的版本,請到ChromeDriver網站 (https://chromedriver.chromium.org/) 下載與您目前相同版本的 ChromeDriver 的執行檔,放在搶票程式的webdriver目錄下(Mac電腦請放到 MaxBot.app 套件裡的 /Contents/Resources/webdriver/),在執行搶票程式前,第一次執行搶票主程式前,前請先手動點 ChromeDriver 的執行檔。
  • 透過 python3 執行 settings.py 就可以有 GUI 的設定界面。
  • 如果你是使用 macOS 並且執行環境沒有 python3,請 python 官方網站(https://www.python.org/downloads/)來安裝 python3, 如果在 macOS 裡會使用終端機(Terminal),建議使用 https://brew.sh/ 安裝 python3.
  • 如果你是使用 Firefox, ChromeDriver 的元件是叫 geckodriver,下載點在:https://github.com/mozilla/geckodriver/releases ,與 ChromeDriver 的處理方式是一樣,如果是 mac 電腦,要在元件按右鍵開啟,做一次授權的動作,mac 有2個版本,-macos.tar.gz 與 -macos-aarch64.tar.gz ,如果是 intel CPU 的版本,請服用前面沒有 aarch64 的版本。

PS:搶票程式可以多開chrome瀏覽器,如果你電腦效能高。

PS:「掛機模式」的選項,指人不需要在電腦前,驗證碼會猜到對為止。

Introduce the implement (實作方法)

https://stackoverflow.max-everyday.com/2018/03/selenium-chrome-webdriver/

Execute suggestion (搶票建議)

please run this source code with high performance hardware computer and high speed + stable network.

門票的「限量」是很殘酷的,建議不要用破舊的電腦或連線不穩的手機網路來搶票,因為只要比別人慢個 0.1 秒,票可能就沒了。為了要搶到限量的票真心建議去一下網咖或找一個網路連線穩定且快的地方並使用硬體不差的電腦來搶票。

TODO about cpatcha (關於驗證碼)

目前自動輸入驗證碼用的元件是:

https://github.com/sml2h3/ddddocr

附註:

  • macOS 新的電腦 arm 系列, 暫時沒有提供自動輸入驗證碼功能, 使用上的限制和 ddddocr 相同.
  • macOS 舊款intel CPU 的電腦裡的 python 版本要降到低於等於 3.9 版, 例如: https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg .
  • 猜測驗證碼時比較容易出錯的是字英 f 和 t,還有 q 和 g, v 和 u 還有 w.
  • 猜測驗證碼必錯的情況是,目前不允許有重覆的2個字母出來。

想自動輸入驗證碼,可以參考看看:實作基於CNN的台鐵訂票驗證碼辨識以及透過模仿及資料增強的訓練集產生器 (Simple captcha solver based on CNN and a training set generator by imitating the style of captcha and data augmentation)

https://github.com/JasonLiTW/simple-railway-captcha-solver

搶票常見問題整理

詳全文:https://max-everyday.com/2023/02/common-problem-when-you-buy-ticket/

整理大家在搶票時常遇到的問題:

  • 沒講清楚成功後的報酬
  • 買到太多票
  • 如何處理多的票?
  • 使用搶票程式會讓自己的帳號被鎖住嗎?
  • 拓元的搶票,要多少的網路頻寬才夠?
  • 為什麼要設計搶票的機制?
  • 為什麼網頁會有驗證碼?
  • 你的硬體設備該不該升級?
  • 想組一台新的電腦,是不是可以給我一些建議呢?

Donate (贊助Max)

如果你覺得這篇文章或MaxBot寫的很好,想打賞Max,贊助方式如下: https://max-everyday.com/about/#donate

tixcraft_bot's People

Contributors

hahamic avatar max32002 avatar lovefirst02 avatar chuanxd 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.