Coder Social home page Coder Social logo

tkb_enroll's Introduction

只要到了暑假熱門時段TKB就會非常難預約

因此順手寫了個小script搶課

食用方法(以下操作建議使用google chrome): 如果看得懂程式也可以直接參考程式碼&註解

1>請用GOOGLE CHROME瀏覽器登入TKB預約網頁,到預約課程的頁面

2>到了可以選課程 時間 地點 場次的頁面

3>對著課程的欄位,用滑鼠右鍵點他,出現的選單請選擇"檢查"

4>此時右邊會出現開發者工具,並且反白or藍一塊程式碼, 注意程式碼最前面有一個三角形,點他一下可以展開 就可以看到<option value="一串代碼",這個代碼就是之後腳本要填進去的課程代碼

5>地點的話要先把課程跟日期選好,才可以選,此時再做跟第四步驟一樣的事 右鍵點地點的下拉欄位,選檢查,展開程式碼,就可以看到各地點的代碼

6>複製程式碼到你的本地,放在記事本,把你查到的課程碼、地點代碼、還有預約時間 把腳本中我有註明要換掉的地方換掉,這樣你自己的搶課腳本就做好了

7>一樣在預約課程頁面按下鍵盤的f12右邊會展開一個開發者工具欄, 確定他是在"console"頁簽,把剛剛做好的腳本貼上,並按下Enter即可 (就是把腳本送出在網頁上執行)

p.s. 想測試的話可以把book();那行拿掉你可以自己測試一下預約的狀況

搶課的狀況順利的話,應該是守在電腦前12點一到把搶課腳本送出就可以收工了。 當然事前要先自己填好課程碼跟日期等。

tkb_enroll's People

Contributors

allenkc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yurutung

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.