Skip to content

Commit

Permalink
Added Auto Recaptcha Resolving By AI (reCAPTCHA & hCaptcha)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antec authored and Antec committed Mar 29, 2024
1 parent a6da549 commit f60dcb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions OpenBullet2/OpenBullet2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
<ItemGroup>
<Folder Include="wwwroot\fonts\" />
</ItemGroup>
<Target Name="ChromeExtensions" AfterTargets="PostChromeExtensions">
<Exec Command="mkdir &quot;$(TargetDir)UserData\ChromeExtensions&quot;&#xA;xcopy &quot;$(ProjectDir)google.crx&quot; &quot;$(TargetDir)UserData\ChromeExtensions&quot; /Y" />
</Target>

<ItemGroup>
<ProjectReference Include="..\OpenBullet2.Core\OpenBullet2.Core.csproj" />
Expand Down
Binary file added OpenBullet2/google.crx
Binary file not shown.
3 changes: 1 addition & 2 deletions RuriLib/Blocks/Selenium/Browser/Methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public static class Methods
chromeop.AddArgument("--disable-blink-features");
chromeop.AddArgument("--disable-infobars");
chromeop.AddExcludedArgument("enable-automation");
chromeop.AddExcludedArgument("test-type");
chromeop.AddAdditionalChromeOption("useAutomationExtension", false);
chromeop.BinaryLocation = provider.ChromeBinaryLocation;

Expand Down Expand Up @@ -94,7 +93,7 @@ public static class Methods
}

// This regex will split the string by "|" unless the space is within quotes.
// Case of Multipe Arguments in extraCmdLineArgs in OpenBrowser Using Selenium Ex: arg1|arg2|arg3....
// Case of Multipe Arguments in extraCmdLineArgs in OpenBrowser Using Selenium Ex: arg1|arg2|arg3...
var argsArray = Regex.Matches(args, @"[^|]+")
.Cast<Match>()
.Select(m => m).ToList();
Expand Down

0 comments on commit f60dcb9

Please sign in to comment.