Advertisement
dereksir

Untitled

Mar 15th, 2024 (edited)
554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.49 KB | None | 0 0
  1. namespace TwoCaptcha
  2. {
  3.     public class Scraper
  4.     {
  5.         static void Main(string[] args)
  6.         {
  7.             // set up ChromeDriver
  8.             IWebDriver driver = new ChromeDriver();
  9.  
  10.             // navigate to the target url
  11.             string target_url = "https://www.google.com/recaptcha/api2/demo";
  12.             driver.Navigate().GoToUrl(target_url);
  13.  
  14.             // create a new TwoCaptcha instance
  15.             TwoCaptcha solver = new TwoCaptcha("YOUR_API_KEY");
  16.            
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement