max32002 / tixcraft_bot Goto Github PK
View Code? Open in Web Editor NEWMaxBot open source code bot
Home Page: https://max-everyday.com/2018/03/tixcraft-bot/
License: GNU General Public License v3.0
MaxBot open source code bot
Home Page: https://max-everyday.com/2018/03/tixcraft-bot/
License: GNU General Public License v3.0
urbtix 新版要排queue
OS:Win 10 21H2
Chrome Version:112.0.5615.50 (正式版本) (64 位元)
Bot Version:chrome_tixcraft.20230331
實測ticket plus網站
會卡在選擇票區的頁面
執行的視窗會不斷跳這幾行訊息 (某些tag沒抓到?)
select all captcha text
find ticket_number_div fail
start to ddddocr
ddddocr is None
ocr_answer is None
previous_answer: None
有打算維護這塊嗎?
謝謝
謝謝~~
最近使用最新版的程式發現在尚未開賣的頁面不會再自動刷新,已確定有開啟「自動刷新倒數中的日期頁面」
另外使用舊版程式測試是會自動刷新的
tixcraft 使用 google帳號做社群登入被阻擋
issues 描述
https://stackoverflow.com/questions/62218033/chromedriver-cant-login-to-google-account
球球了!!
試過edge、chrome但當開啟瀏覽器大概過兩秒就會閃退
錯誤如下:
goto url: https://kktix.com
[1320:20500:0216/132259.347: ERROR: fallback_task_provider.cc(124)] Every renderer should have at least one task provided by a primary task provider. If a "Renderer" fallback task is shown, it is a bug. If you have repro steps, please file a new bug and tag it as a dependency of crbug.com/739782.
[1320:20500:0216/132301.868: ERROR: device_event_log_impl.cc(218)] [13:23:01.868] USB: usb_device_handle_win.cc:1046 Faile d to read descriptor from node connection:連結到系統的某個裝置失去作用。 (0x1Ë)
https://kktix.com/users/sign_in?back_to=https%3A%2F%2Fkktix.com%2F
測試網站: https://premier.hkticketing.com/shows/show.aspx?sh=LOUDO0423
問題: 在選取日期頁面不斷重整,導致無法選取日期
想詢問使用2023-03-20版本,ibon 系統在使用【驗證中填寫此答案】功能後,無法自動送出。
4/9使用03/31版本的搶票機器人進行kktix系統搶票,因此場活動有設置考題,所以機器人也開始自動猜測答案,不過才自動猜測第一個選項,網頁就整個卡死了!也沒有再猜測下一個選項了,但先前測試其它場活動,都可以順利依序自動猜測所有選項。但正式開賣場次只會猜測第一個選項就會卡死。
When queuing on the hkticketing website, it will not reload automatically after 10 seconds delay (stuck in 0 seconds, the terminal gives no output). The link shown is https://premier.hkticketing.com/ while normally it should be https://queue.hkticketing.com/hotshow.html which will reload after 10 seconds.
[11164] Failed to execute script 'chrome_tixcraft' due to unhandled exception!
想請問是瀏覽器的問題嗎
因為用舊版的也是同樣問題
但之前用都可以正常進入
首先先感謝 Max 大大的無私貢獻
我以前都是手動搶拓元,搭配 Chrome Extension 可以穩定在開賣後 5 秒左右即送出驗證碼
最近我跟我朋友發現,比較快送出的 (10秒內) 很容易買不到
相反的,比較慢進去的視窗反而都會買到
請問您是否有遇過類似情形?
請問 為什麼用古哥瀏覽器 無法登入進拓元 請問我是不是有什麼步驟弄錯
請問可否新增 HotdogTIX售票系統?感謝Max!
在使用最新版本中 for chrome 96 ,要登入拓元的會員 使用google的帳戶登入
最後都會顯示
目前無法登入帳戶
這個瀏覽器或應用程式可能有安全疑慮。
建議您改用其他瀏覽器。如果您目前已使用系統支援的瀏覽器,可以再試著登入帳戶。
所以是被google的安全性擋在門外嗎?有辦法解嗎?
20230112-ver3
猜測後自動送出打勾了還是不會自動送出
Ibon 系統使用機器人搶票後,會閃退到主畫面。但一陣子後也會恢復正常。
有時候搶演唱會都是跟親友們一起去
設定最大值2或4時,時常會跑進只有1張票的區域
導致需要重來,重來又可能又跑進1張票的區域,無限loop,錯失搶票黃金期
希望大大能增加min設定,判斷小於min數的就pass
執行環境 Mac OS 本機 run the command
python3 settings.py
在Windows環境:自動開啟的Chrome視窗因為安全性問題無法使用Google帳號登入拓元,所以根本無法執行下一步,OAuth可能要檢查一下
在Linux環境:特別使用原始乾淨的Ubuntu 20.04,結果python套件缺東缺西根本無法執行,自己還要手動去安裝python。安裝python後執行setting.py,又出現no name selenium,又要pip install ,可是在此版Ubuntu無法自動安裝pip,又要user自己想辦法安裝pip,還不能安裝到pip3,否則一樣會出現不明錯誤訊息。
好不容易降版使用get-pip.py安裝pip2之後,再次執行settings.py,又出現其他錯誤訊息,這次換chromewebdriver,沒有在PATH找到
請問這程式release之前究竟有沒有測試過?
請問怎樣在開賣前或平日獲得排隊的連結用作開發?
Python 3.8.10
OS: ubuntu 20.04
MaxBot (2023.01.29)
跑到最後無法自動帶入驗證碼,試了幾張不一樣的都不行
ˋˋˋ
start to ddddocr
ddddocr is None
orc_answer is None
previous_answer: None
goto is_verifyCode_editing == True
ˋˋˋ
感謝提供這個程式!
請求針對[indievox獨立音樂網]支持
https://www.indievox.com/
在晚間沒人搶票的時段測試時成功了一次,可是接著下來卻不停卡在重新連接三秒,像是被封掉了,需要換個新的ip還有清掉cookie才可以再次進入購票網站不用再不停三秒重新連接。於其他沒有使用bot的電腦沒有這問題!
所以請問有什麼方法避免使用一次就被封掉的問題嗎?
...
https://kktix.com/events/spaceport2023-01/registrations/new
registerStatus: IN_STOCK
asssign ticket number:2
asssign ticket number to ticket-price field Exception:
Message: element not interactable
(Session info: chrome=110.0.5481.104)
Stacktrace:
Backtrace:
(No symbol) [0x009A37D3]
(No symbol) [0x00938B81]
(No symbol) [0x0083B230]
(No symbol) [0x00868586]
(No symbol) [0x008676A7]
(No symbol) [0x0088B41C]
(No symbol) [0x00862B96]
(No symbol) [0x0088B774]
(No symbol) [0x008A1215]
(No symbol) [0x0088B216]
(No symbol) [0x00860D97]
(No symbol) [0x0086253D]
GetHandleVerifier [0x00C1ABF2+2510930]
GetHandleVerifier [0x00C48EC1+2700065]
GetHandleVerifier [0x00C4C86C+2714828]
GetHandleVerifier [0x00A53480+645344]
(No symbol) [0x00940FD2]
(No symbol) [0x00946C68]
(No symbol) [0x00946D4B]
(No symbol) [0x00950D6B]
BaseThreadInitThunk [0x76A100F9+25]
RtlGetAppContainerNamedObjectPath [0x77717BBE+286]
RtlGetAppContainerNamedObjectPath [0x77717B8E+238]
瀏覽器用firefox,貌似會有找不到路徑的error
# https://msg.cityline.com/ https://event.cityline.com/
if 'msg.cityline.com' or 'event.cityline.com' in url:
try:
WebDriverWait(driver, 10, poll_frequency=0.01).until(
EC.element_to_be_clickable((By.XPATH, "//button[@id='btn-retry-en-1']"))
)
driver.execute_script("goEvent();")
except Exception as exec1:
pass
pass
我已提交了new pull request
I think it's the undetected_chromedriver problem.
I found out by accident that version 3.1.5.post4 worked but not 3.4.6 was blocked.
I did not try the other version yet.
感謝你
建議新增 Adblock Plus
https://chrome.google.com/webstore/detail/adblock-plus-free-ad-bloc/cfhdojbkjhnklbpkdaibdccddilifddb
並且 Adblock Plus 設定過濾
tixcraft.com###topAlert
tixcraft.com##.col-md-7.col-xs-12.mg-top
tixcraft.com##.topBar.alert-box.emergency
tixcraft.com##.footer.clearfix
tixcraft.com##.row.process-wizard.process-wizard-info
tixcraft.com##.nav-line
tixcraft.com##.page-info.row.line-btm.mg-0
Found two problems in Cityline.
cityline_main
function if 'msg.cityline.com' or 'event.cityline.com' in url:
try:
WebDriverWait(driver, 10, poll_frequency=0.01).until(
EC.element_to_be_clickable((By.XPATH, "//button[@id='btn-retry-en-1']"))
)
driver.execute_script("goEvent();")
except Exception as exec1:
pass
pass
The statement will always be true since the boolean value for the first string is true. You need to add a bracket to the strings and or
operator
if ('msg.cityline.com' or 'event.cityline.com') in url:
try:
WebDriverWait(driver, 10, poll_frequency=0.01).until(
EC.element_to_be_clickable((By.XPATH, "//button[@id='btn-retry-en-1']"))
)
driver.execute_script("goEvent();")
except Exception as exec1:
pass
pass
新版GOOGLE瀏覽器帳號無法登入~
拓元登入會員時會顯示危險的瀏覽器
pip-reg.txt
中 需加入 Pillow你好,先前有看到影片知道要按鎖頭〉cookie,但現在跳出來視窗不一樣了,需要改變甚麼方式來取得sid呢? 別的瀏覽器(fire fox)也可以這樣取得嗎?
謝謝回覆
您好,感謝您提供這個程式,在今天五月天開賣的時候,不知道是不是卡頓的原因 驗證碼不會自己輸入 在開賣之前有用過都是正常的
是不是一開始驗證碼加載比較慢的關係
使用ibon系統搶票,在setting頁面中有設定好在驗證問題填寫答案,但實際搶票時卻不會自動輸入
ibon有題目的話 機器人就不會動了
請問有辦法解決嗎?
以昨天black pink澳門公售為例,
https://ticketing.galaxymacau.com/shows/show.aspx?sh=BPBPWT23
Maxbot成功retry 進入購票網頁,但由於當時系統繁忙,進入網頁後大約幾秒後才出現ticket 的elements, 導致bot不斷refresh網頁嘗試尋找ticket 的elements。重複幾分鐘後,關閉bot後才能正常運作。
假如將來的更新,能否加入手動暫停的功能? 因為搶票時server流量大,bot未必能正常運作。
在此先感謝一直的更新。🙏
max32002 您好
最近看到您的搶票程式,覺得很有趣,想自行學習開發
想從trace code開始,所以想問全部的功能都在這包source code裡面麻
這方面的開發有推薦的書籍麻,謝謝。
今天試了一下好像不支援籃球門票的選位置
希望有機會未來能夠支持Global Melon ticket售票系統的搶票功能
https://tkglobal.melon.com/main/index.htm
因為此網站目前無法自動選位,必須人工點選位置送出 謝謝
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.