Skip to content

Captcha (Auth Token)

Duy Pham Le edited this page Dec 19, 2024 · 8 revisions

Since auth endpoint changes the app is not working anymore.

I have implement a few options here.

Browser Solving

Important

This strategy currently not working with Github Codespaces. If you want to use this app on Codespaces consider using solver options.

This one will actually spins up a broswer, enter the user infomation to get the auth token.

Set captcha section like this:

  captcha:
    # Avaliable options: solver or browser
    strategy: 'solver'
    # solverOptions:
    #   # Avaliable options: capsolver
    #   solverService: ''
    #   # solverApiToken: ''
    #   solverApiToken: ''

External Solver (require payment)

Important

I tried with 2captcha but it didn't work. So it will really depends on the quality of the solving service.

This one will use an external captcha solving service (like capsolver) to solve it. Price is cheap (around $0.0030 per solve). 1 solve last around 10-15 minutes, so if a booking take 5 hours will cost you around 30 solves (around $0.09).

If you don't have a Capsolver's account, create here (referral link).

Setup in your config.yml file:

  captcha:
    # Avaliable options: solver or browser
    strategy: 'solver'
    solverOptions:
      # Avaliable options: capsolver, 2captcha
      solverService: 'capsolver'
      solverApiToken: '<YOUR_TOKEN>'
Clone this wiki locally