-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
[Question] Allow to change Language #2
Comments
I am trying to edit the tag mapping.I didn't think anyone would pay attention to the project.(/▽\) |
However, from the conclusion of my research, this On the PC, hCaptcha determines what language to use based on the browser's startup parameters, and on Linux it is based on the session window's In addition, the tags given by hCaptcha may not be in the standard encoding format.You can run the following code in your favorite Python IDE, which is a very clever trick I found while researching how hCaptcha works. print("AWESΟME" == "AWESOME")
print("bіcycle" == "bicycle") So, we need to write at least one adaptor function manually to convert these unusual characters. |
just change label_aliases and get_label function, since in my (russian) language we have different word endings u have to consider it into label_aliases.
|
Are you running on Linux? 👀 |
nope |
Yes, this does solve the problem. But I'm looking for a way to automatically adapt to the language and match the corresponding splitting function to the |
Did you comment out this line of code? 👀
|
the problem is, that some sites force language on hcaptcha, about the lang stuff: i use only antihcaptcha class |
The solution you propose seems to be quite time consuming. Note that the hCaptcha challenge has a time limit of roughly 130 seconds, and the page element will reset after that timeout.
Yes, like EPIC login, they remove the checkbox and lock the element language.
But if it's a regular hCaptcha it will have a section to switch the element language. From the picture below you should understand why I wanted to unify the language in the first place. If we want to do adaptation, I think we need to rely on other modules, and the complexity of this split word is too terrible. My idea was to find a way to use elements of a particular language in a variety of contexts. Once and for all. |
I've standardized the challenge language in the test cases and it works on all major operating systems. d6aa5ed
Could you provide some application scenarios or links about this situation? |
Hey what i meant is when changing Language the label doesnt get recognized. |
So won't it be possible to identify accurately after the language is unified? 👀
I don't quite understand the exact meaning of the phrase. The purpose of I did a lot of testing and I found that the number of image categories in hCaptcha is constant and that the tags are not completely random and "infinite".So, with this simple mapping, you can cover all the cases. At certain fixed times of the day, the challenge labels encountered are the same. |
I mean when ur getting the label when its in english and than using |
I still don't understand what you mean...🤦♂️ I think you may not be reading the purpose of this variable. I have mentioned above. The purpose of self.label_alias is not to translate, but to correct miscoding. |
Oh, my God, there are three people talking in here! Now I know exactly what you need. |
Ah im an idiot . But when im trying to use an english label for example like 'train' for _label it doesnt work . Image |
WHAT! What did you do with the source code. 😂😂😂😂 |
Ultimately, I think it's a pseudo-need. I don't think it should matter what language is used to open the challenge. If you do have to start a challenge in a particular language for some indescribable reason, you can refer to this friend's approach and write your own splitting methods as well as A final reminder. The purpose of |
if i use |
That's because you didn't add the cleansed noun to the |
It doesnt work when changing chrome language to english
and changing get_labels to return label in english
But the image classifier just takes chinese
The text was updated successfully, but these errors were encountered: