-
-
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.
This option is the most stable one. But the drawbacks is the auth token is expired every 10-15 minutes and you have to regenerate it yourself.
Guide avaliable 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 or browser
strategy: 'solver'
# solverOptions:
# # Avaliable options: capsolver
# solverService: ''
# # solverApiToken: ''
# 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 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>'