Giter Club home page Giter Club logo

tixcraft_bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tixcraft_bot's Issues

Ticketplus 會卡在選擇票區的頁面

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

有打算維護這塊嗎?
謝謝

拓元更新後頁面不會重複刷新

最近使用最新版的程式發現在尚未開賣的頁面不會再自動刷新,已確定有開啟「自動刷新倒數中的日期頁面」
另外使用舊版程式測試是會自動刷新的

閃退

試過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

Kktix自動猜題卡住

4/9使用03/31版本的搶票機器人進行kktix系統搶票,因此場活動有設置考題,所以機器人也開始自動猜測答案,不過才自動猜測第一個選項,網頁就整個卡死了!也沒有再猜測下一個選項了,但先前測試其它場活動,都可以順利依序自動猜測所有選項。但正式開賣場次只會猜測第一個選項就會卡死。

CItyline 正式開賣時建議程式可以自動點選「按此購票」按鈕

平台: CityLine

考慮到多開的情況
如果活動一開賣
需要手動點選「按此購票」才動進入活動頁面
會做不到所有多開視窗
第一時間同時進入活動頁面 (因每個視窗也要手動點選一次「按此購票」)
能用爬蟲把這個按鈕也自動按嗎?

活動倒數中

image

活動倒數完畢 (程式現時不會自動點選「按此購票」)

image

進去瀏覽器會error

[11164] Failed to execute script 'chrome_tixcraft' due to unhandled exception!
想請問是瀏覽器的問題嗎
因為用舊版的也是同樣問題
但之前用都可以正常進入

請問是否有遇過太快送出直接被拓元擋

首先先感謝 Max 大大的無私貢獻
我以前都是手動搶拓元,搭配 Chrome Extension 可以穩定在開賣後 5 秒左右即送出驗證碼
最近我跟我朋友發現,比較快送出的 (10秒內) 很容易買不到
相反的,比較慢進去的視窗反而都會買到
請問您是否有遇過類似情形?

新人有疑問

請問 為什麼用古哥瀏覽器 無法登入進拓元 請問我是不是有什麼步驟弄錯

新人疑問

在使用最新版本中 for chrome 96 ,要登入拓元的會員 使用google的帳戶登入
最後都會顯示
目前無法登入帳戶
這個瀏覽器或應用程式可能有安全疑慮。
建議您改用其他瀏覽器。如果您目前已使用系統支援的瀏覽器,可以再試著登入帳戶。
所以是被google的安全性擋在門外嗎?有辦法解嗎?

希望能增加min票數量

有時候搶演唱會都是跟親友們一起去
設定最大值2或4時,時常會跑進只有1張票的區域
導致需要重來,重來又可能又跑進1張票的區域,無限loop,錯失搶票黃金期

希望大大能增加min設定,判斷小於min數的就pass

搶票程式無法使用

在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
ˋˋˋ
感謝提供這個程式!

Run Settings.exe 有error

在run setting 時出現error
error
請問可以怎樣辦?

但在run tixcraft時則可執行, 郤只能執行預設的網址, 例如最新版本是cityline, 只可打開cityline購票, 因為行不到setting, 所以改不了網址, 去不了urbix或kktix, 請幫忙

城市電腦售票網機器人

在晚間沒人搶票的時段測試時成功了一次,可是接著下來卻不停卡在重新連接三秒,像是被封掉了,需要換個新的ip還有清掉cookie才可以再次進入購票網站不用再不停三秒重新連接。於其他沒有使用bot的電腦沒有這問題!

所以請問有什麼方法避免使用一次就被封掉的問題嗎?

KKTIX票券張數無法設定

...
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]

cityline 10秒等待的处理

对于cityline 10秒等待的处理

  1. 出现如下两个网址之一,就代表这是等待页面(之前作者只写了一个,我增加了一个)
  2. 网站显示低于三秒重试会被判为bot而可能遭封禁,我修改为一旦按钮可点击,就立即重试
    # 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

Urbtix blocked

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.

Cityline bugs

Found two problems in Cityline.

  1. There's a bug in the 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
  1. The website will detect the bot and redirect the link to msg.cityline.com which finally directs to the homepage instead of the presale page. I don't know whether to slow the poll frequency will solve this problem

Tag 20221114 Issue

  1. 有使用到新套件 PIL pip-reg.txt 中 需加入 Pillow
  2. 找不到 maxbot_logo2_single.png

請問chrome 拓元sid 取得方式是否改變?

你好,先前有看到影片知道要按鎖頭〉cookie,但現在跳出來視窗不一樣了,需要改變甚麼方式來取得sid呢? 別的瀏覽器(fire fox)也可以這樣取得嗎?

謝謝回覆

Google 無法登入

image
程式開啟的Chrome 無法Google登入,一般開啟Chrome 是可以正常登入的

開賣時驗證碼不會自動輸入

您好,感謝您提供這個程式,在今天五月天開賣的時候,不知道是不是卡頓的原因 驗證碼不會自己輸入 在開賣之前有用過都是正常的

是不是一開始驗證碼加載比較慢的關係

能否增加手動暫停功能?

以昨天black pink澳門公售為例,
https://ticketing.galaxymacau.com/shows/show.aspx?sh=BPBPWT23

Maxbot成功retry 進入購票網頁,但由於當時系統繁忙,進入網頁後大約幾秒後才出現ticket 的elements, 導致bot不斷refresh網頁嘗試尋找ticket 的elements。重複幾分鐘後,關閉bot後才能正常運作。

假如將來的更新,能否加入手動暫停的功能? 因為搶票時server流量大,bot未必能正常運作。

在此先感謝一直的更新。🙏

功能請求: 在 Facebook 自動填入密碼

image

密碼 input:

selector
#u_0_e_F2 > div > div.phl.ptm.uiInterstitialContent > table > tbody > tr._3stt > td > input[type=password]
xpath
//*[@id="u_0_e_F2"]/div/div[2]/table/tbody/tr[1]/td/input

繼續 input:

selector
#u_0_0_6L
xpath
//*[@id="u_0_0_6L"]

感謝 Max 大提供的程式。

開發程式

max32002 您好

最近看到您的搶票程式,覺得很有趣,想自行學習開發
想從trace code開始,所以想問全部的功能都在這包source code裡面麻
這方面的開發有推薦的書籍麻,謝謝。

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.