-
-
Notifications
You must be signed in to change notification settings - Fork 149
Captcha (Auth Token)
Since TX DPS implements auth endpoint changes the app is not working anymore.
I have implement a few options here.
Important
This strategy currently not working with Docker.
- Edit
config.yml
file:
captcha:
# Avaliable options: solver, browser or manual
strategy: 'manual'
# solverOptions:
# # Avaliable options: capsolver
# solverService: ''
# solverApiToken: ''
How to get auth token: here
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, browser or manual
strategy: 'browser'
# solverOptions:
# # Avaliable options: capsolver
# solverService: ''
# solverApiToken: ''
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 20 minutes, so if a booking take 5 hours will cost you around 15 solves (around $0.045).
If you don't have a Capsolver's account, create here (referral link).
Setup in your config.yml
file:
captcha:
# Avaliable options: solver, browser or manual
strategy: 'solver'
solverOptions:
# Avaliable options: capsolver, 2captcha
solverService: 'capsolver'
solverApiToken: '<YOUR_TOKEN>'