ZennoLab

Automate everything

User Tools

Site Tools


en:addons:capmonster:rc2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:addons:capmonster:rc2 [2017/11/13 11:31]
vladz
en:addons:capmonster:rc2 [2017/11/13 12:03] (current)
afameless
Line 110: Line 110:
  int xPrimaryControlsDisplaysment = loadedForm.DisplacementInTabWindow.X;​  int xPrimaryControlsDisplaysment = loadedForm.DisplacementInTabWindow.X;​
  int yPrimaryControlsDisplaysment = loadedForm.DisplacementInTabWindow.Y;​  int yPrimaryControlsDisplaysment = loadedForm.DisplacementInTabWindow.Y;​
- + 
  if (xPrimaryControlsDisplaysment < 0 || yPrimaryControlsDisplaysment < 0) // there are no visible recaptcha  if (xPrimaryControlsDisplaysment < 0 || yPrimaryControlsDisplaysment < 0) // there are no visible recaptcha
  {  {
Line 144: Line 144:
  }  }
 }; };
 + 
 // Confirmation of the answer // Confirmation of the answer
 Action VerifyAnswer= () => Action VerifyAnswer= () =>
Line 156: Line 156:
  CheckOK();  CheckOK();
 }; };
 + 
 Action InputNotBotText= () => Action InputNotBotText= () =>
 { {
Line 167: Line 167:
  }  }
 }; };
 + 
 Action UpdateImage= () =>  Action UpdateImage= () => 
 { {
Line 289: Line 289:
  task = taskHe.GetAttribute("​innertext"​);​ // getting the task  task = taskHe.GetAttribute("​innertext"​);​ // getting the task
  string suspecttask = task.ToLower();​  string suspecttask = task.ToLower();​
- if (suspecttask.Contains("​click verify once there are none left") || suspecttask.Contains("​when images will be end") || suspecttask.Contains("​когда изображения закончатся"​) || suspecttask.Contains("​коли зображень уже не залишиться,​ натисніть \"​підтвердити\""​) || suspecttask.Contains("​fai clic su Verifica ​dopo averle selezionate tutte"​)) dynamicCaptcha = true; +  
- if (suspecttask.Contains("​if there are none, click skip") || suspecttask.Contains("​if they do not exist, click \"​skip\""​) || suspecttask.Contains("​если их нет, нажмите \"​пропустить\""​) || suspecttask.Contains("​якщо нічого немає"​) || suspecttask.Contains("​se non ne vedi, fai clic su salta"​)) notOneEnter = true;+ if (suspecttask.Contains("​click verify once there are none left") || suspecttask.Contains("​when images will be end") || 
 + suspecttask.Contains("​когда изображения закончатся"​) || 
 + suspecttask.Contains("​коли зображень уже не залишиться,​ натисніть \"​підтвердити\""​) || 
 + suspecttask.Contains("​cliquez sur le bouton de validation"​) || 
 + suspecttask.Contains("​klicken sie") || 
 + suspecttask.Contains("​fai clic su verifica ​dopo averle selezionate tutte"​) ​|| 
 + suspecttask.Contains("​gdy wybierzesz wszystkie, kliknij weryfikuj"​)
 + dynamicCaptcha = true; 
 + 
 +if (suspecttask.Contains("​if there are none, click skip") || 
 + suspecttask.Contains("​if they do not exist, click \"​skip\""​) || 
 + suspecttask.Contains("​wenn du keine siehst"​) || 
 + suspecttask.Contains("​s'​il n'y en a aucune, cliquez sur \"​ignorer\""​) || 
 + suspecttask.Contains("​если их нет, нажмите \"​пропустить\""​) || suspecttask.Contains("​якщо нічого немає"​) || 
 + suspecttask.Contains("​ich nie ma, kliknij"​) || 
 + suspecttask.Contains("​se non ne vedi, fai clic su salta"​)) 
 + notOneEnter = true; 
  timeout = false;  timeout = false;
  break;   break;
Line 472: Line 489:
 { {
  project.SendInfoToLog(String.Format("​Attempt №:​{0}",​ i+1), needShowMessages);​  project.SendInfoToLog(String.Format("​Attempt №:​{0}",​ i+1), needShowMessages);​
-  + 
  InputNotBotText();​  InputNotBotText();​
  SearchTask();​  SearchTask();​
en/addons/capmonster/rc2.txt · Last modified: 2017/11/13 12:03 by afameless