Code Monkey home page Code Monkey logo

pchome-autobuy's People

Contributors

dependabot[bot] avatar jumpingchu avatar

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

pchome-autobuy's Issues

請問是不是不能用了?

執行程式後會直接 exception 噴掉,沒仔細 trace error code,想問一下是不是 pchome 改版後無法使用了,謝謝

Python selenium真的有辦法搶購限量商品嗎?

首先感謝原作者提供的程式碼,
我參考原作者的程式, 加了倒數計時啟動程式功能, 加入多開帳號的資訊紀錄, 還有其他一些零散的變數
經過數十小時努力後, 在9/10決戰PS5搶購卻徹底失敗, 連購物車都沒加入就顯示完售
我手動用APP至少還有跑到結帳付款頁面才失敗
請問有人真的搶購到限量商品的嗎? 我需要一點信心...

記住登入資訊

已經照您文中的建議設定

settings.py 內的 CHROME_PATH 可讓 chrome 記住登入資訊,可提升搶購速度,建議使用

但是每次都需要重新登入,請問是哪邊還需要注意? 謝謝。

付款頁面與setup.py 參數上不符

我不確定是不是後來有改付款資訊,
以line pay 為例:

  1.  官方上需要填入地址之類的訊息, 但參數上沒有
  2.  我測試帳號是新加入的,尚未購買任何商品過,不確定購買商品後 會不會記錄這些訊息?

一次付清也缺少一些項目: 信用卡卡號,地址.. 等等訊息

我同步也會持續測試, 如果之前有測試過更好~~~

get_product_status時出現 HTTP 403(Forbidden)

執行程式碼後發現在get_prodcut_status函數中requests.get(api_url)時出現報錯,檢查 resp.status_code 後發現是 HTTP 403,不知道是否為pchome偵測到使用爬蟲工具而被拒絕連線,想問問各位大大有沒有什麼解決的方法,感謝。

搶購程式只能在開賣前幾秒開啟

作者您好,
因為搶購程式是透過送HTTP request去polling,
實際測試大概10次之後就會被pchome擋個幾秒, 才能成功要到一次HTTP response
請問除了開VPN跟掛proxy去改IP以外, 還有什麼方法可以規避掉嗎? 謝謝

加入購物車有時會失效

經回報,有時進到購物車頁面卻是顯示無商品
測試後發現,這狀況通常在移除購物車商品後再次執行時發生

目前只能透過取消 CHROME_PATH 改為重新登入的方式才會成功將商品加入購物車
其他解決方案持續觀察中,若有其他人有想法也歡迎提供

必須要手動點擊<同意電子商務條款>和<確認訂單>

執行到輸入信用卡安全碼都沒問題
順帶一提我反而是要記住付款資訊(卡號/日期)才可以完成

但接下來會跳出通知要求我點擊<同意電子商務條款>,這之後的步驟都要手動。
請問是程式本來就是執行到這邊還是我設定上有誤?

謝謝

使用方法

下載後研究了一天 還是摸不出如何使用

連結到系統的某個裝置失去作用

您好

已經按照步驟且有成功過

但是之後再試的時候

會發生以下資訊

[19156:16836:0808/143317.450:ERROR:device_event_log_impl.cc(214)] [14:33:17.450] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: 連結到系統的某個裝置失去作用。 (0x1F)
[19156:16836:0808/143317.452:ERROR:device_event_log_impl.cc(214)] [14:33:17.452] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: 連結到系統的某個裝置失去作用。 (0x1F)

畫面是卡在商品畫面(已加入購物車)或是進入購物車的畫面

使用教學

請問有詳細教學嗎
程式新手我只把Zip檔下載後用python開編輯個人資料就不會用了..謝謝您`

關於pchome搶購的需求提出

你好,想請教一下,我有執行python程式,但我發現如果是尚未開賣的商品,好像不太適用目前的程式,我是有看到可以用for loop 去retry until no excption 但是我的程式寫法似乎不被採納,正確語法該如何下呢?
另外,加入購物車有成功,但前往購物車只有第一次成功,後續再測試 都一直在商品頁未前進下一頁,是不是 driver.find_element_by_id('ico_cart').click() 這邊找不到這個 element id 的關係呢? 不過,就算第一次有成功進入購物車內,但我發現他並不會點選信用卡一次付清的按鈕(如果選擇line pay 這幾項該如何撰寫呢?)

不好意思,過多的問題,還請你耐心回覆,謝謝!!!

因作業需求需要授權詢問

您好,我是元智大學的學生,因為教授的作業需求關係,有使用到您的 project,而教授需要我們將整個 project 上傳至 GitHub,所以想詢問這個部分是否能授權我作為作業用途,上傳至自己的 GitHub 頁面,並且會在 README 部分提及您的原始專案呢?

目前我有加入其他功能,像是使用 cookie 登入、設定時間讓腳本自動執行、加入預防 PChome 的時差機制、改善有時無法按到購物車按鈕的問題。

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.