Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone notice the TKK regex no longer matches? #12

Open
ken107 opened this issue Sep 21, 2018 · 3 comments
Open

Does anyone notice the TKK regex no longer matches? #12

ken107 opened this issue Sep 21, 2018 · 3 comments

Comments

@ken107
Copy link

ken107 commented Sep 21, 2018

https://github.com/matheuss/google-translate-token/blob/master/index.js#L84

I view-source the GT homepage and this is the only occurrence of TKK now:

MAX_ALTERNATIVES_ROUNDTRIP_RESULTS=1;TKK='427083.4235464620';VERSION_LABEL

I wonder if we can just use that number or what?

@ken107
Copy link
Author

ken107 commented Sep 22, 2018

OK, I have verified that using that TKK value produces the correct tk. Thank you for the PR

@xudongcc
Copy link

@ninedays-io/google-translate-token
This package can be used before merging.

@ken107
Copy link
Author

ken107 commented Dec 13, 2020

Looks like Google has rewritten their google-translate website. This time they use some rpc framework to talk with their server. Is @matheuss or anyone up to reverse engineer their code again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants