Python Selenium Tutorial #9 - How to bypass/solve hCaptcha using 2captcha API

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • 🌐 NodeMaven Proxy Provider: go.nodemaven.c...
    💥 Special Bonus: Use "Michael" at checkout for an extra +2GB of bandwidth.
    🤖 2captcha Captcha Solving Service: bit.ly/2captch...
    This selenium tutorial is designed for beginners to learn how to use the python selenium library to perform web scraping, testing, and creating website bots. Selenium is a Python library that provides a high-level API to control Chrome or Chromium and Firefox or Geckodriver over the DevTools Protocol. Selenium runs non-headless by default but can be configured to run headless.
    Playlist: • Python Selenium Tutorial
    Code: github.com/mic...
    Join our Discord: / discord
    Undetectable ChromeDriver: pypi.org/proje...
    Gecko Driver: github.com/moz...
    Chrome Driver: chromedriver.c...
    Download Visual Studio Code: code.visualstu...
    Download Python: www.python.org...
    Selenium Library: pypi.org/proje...
    Donate
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    PayPal: support@websidev.com
    Bitcoin Wallet: bc1q05j8gcnq4mzvgj603cxdc8xxck4jgnu2ljsrt4
    Ethereum Wallet: 0x5e7BD4f473f153d400b39D593A55D68Ce80F8a2e
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: websidev.com
    Linkedin: / michael-kitas-638aa4209
    Instagram: / michael_kitas
    Github: github.com/mic...
    Business Email: support@websidev.com
    Tags:
    - Python Selenium Tutorial
    - Full Course Selenium
    - Python Selenium
    - Web Scraping Full Course
    - Python Selenium Web Scraping Full Course
    #selenium #python #webscraping

Komentáře • 55

  • @MichaelKitas
    @MichaelKitas  Před 2 lety +4

    Don't forget to join the discord server here: discord.gg/mYCBHTZm6v
    Also, let me know if you have any other video ideas, I really appreciate all ideas!

    • @BmoExpress
      @BmoExpress Před rokem +1

      salut , un moyen pour contourné Coudflare ? merci

    • @MichaelKitas
      @MichaelKitas  Před rokem

      @@BmoExpress Not sure, I haven't checked if/how

  • @rubendarioramirez3011
    @rubendarioramirez3011 Před rokem +3

    Very clear and to the point. I will say that the code is outdated now, but it was easy to tweak it.

    • @user-kw6cw3bs4x
      @user-kw6cw3bs4x Před rokem

      Hello! Can you help me in hCaptcha solving, because I`m beginer and I can`t complete my first freelance project!

  • @0x2fd
    @0x2fd Před rokem +2

    Captcha is passed successfully! :))))))

  • @DingoYabuki
    @DingoYabuki Před rokem +2

    Quite useful, thank you!

  • @spacebuddy231
    @spacebuddy231 Před rokem +2

    Thanks that help a lot :D

  • @0x2fd
    @0x2fd Před rokem +2

    helped a lot thank you

  • @ramzbew5674
    @ramzbew5674 Před 2 lety +2

    Hello. I have got an issue, may be you know how to fix it:
    I have a file. txt with proxies, where each proxy starts by newline. And I need it get cycled so for every circle of cycle I get fresh proxy to avoid detection of my auto email registration script. (I made it via Selenium). So I tried to add new proxy via options.add_argument(f"--proxy-server={ip}:{port}") where ip and port variables of list with proxies (list[0] and list[1]). How can I solve that ??? Or may be you know other way to do that

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      You should include if it is a socks5, socks4 or HTTP proxy as well: options.add_argument(f"--proxy-server={ip}:{port}")

  • @maximilianwedenig375
    @maximilianwedenig375 Před rokem +2

    Hi, I have taken your code 1:1 to go over the demo version for the first time.
    Unfortunately I always get the feedback "hCaptcha solved incorrectly, please try again."
    When debugging I don't get any messages.
    Can you please help me further?

    • @MichaelKitas
      @MichaelKitas  Před rokem

      You should have a fallback and retry, if it shows that message

  • @hdsouza100
    @hdsouza100 Před rokem +2

    Loved the Video. Some sites do not have a "Check" button. What can we do in such cases. How do we execute the callback? Do you have a different video for that or website with documentation on how to. Thanks.

    • @MichaelKitas
      @MichaelKitas  Před rokem +2

      Thank you, unfortunately I haven’t found a solution on that yet

  • @royalwinautomatedsoftware2985

    Hai, I watched ur all videos and learn so much. I have create Python script with for loop condition I need loop execute specific seconds for an example now local time 19:32:35 i need loop execute 30 Seconds local time. I don't want webdriver wait or implicit wait or sleep. Specific seconds time execute every loop
    ex: 19:32:30
    19:33:30
    19:34:30
    19:35:30

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      Thank you 😃 You can use python-crontab for that

  • @OnlineCode
    @OnlineCode Před rokem +1

    If the result has to be insert into the , how is the code that i can do so?

    • @MichaelKitas
      @MichaelKitas  Před rokem +1

      You can control an like so:
      // do stuff on main window
      driver.switch_to.frame(frame_reference)
      // then do stuff in the frame
      driver.switch_to.default_content()
      // then do stuff on main window again
      I am going to make a video on s soon

  • @blitzritter7867
    @blitzritter7867 Před 8 měsíci +1

    Hi, I am doing this exact script and it doesn't work. Can you do an updated version?

    • @MichaelKitas
      @MichaelKitas  Před 7 měsíci

      Same version still works, are you sure you followed every step correctly?

  • @joaorenatomendes2200
    @joaorenatomendes2200 Před 2 lety +2

    What if the hCaptcha comes with an image confirmation?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      What do you mean?

    • @joaorenatomendes2200
      @joaorenatomendes2200 Před 2 lety +1

      @@MichaelKitas I am going through this problem for a while. This hcaptcha i'm trying to solve comes with those pictures you have to select to complete the verification, you know? Like, for instance, "select all images with a boat" or something similar.

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      @@joaorenatomendes2200 Okay, but in the video I show how to bypass it. Did you try the method?

  • @weareout.
    @weareout. Před měsícem

    How would you apply this to a discord bot?

  • @seife.aufheben
    @seife.aufheben Před 2 lety +1

    What to do if the hcaptcha has no submit button as discord for example

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      I am working on finding a solution to this, and once I do I will make a video on it immediately. Stay tuned!

    • @user-tt2vf4lj7x
      @user-tt2vf4lj7x Před rokem

      @@MichaelKitas How is it going, man? did you find it?

  • @andrijkusmich2418
    @andrijkusmich2418 Před 2 lety +1

    Hi, Someone has already solved the problem with the missing confirmation button?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      Not yet, if you have found a solution I would appreciate if you can share it and I can make a video on that 👍

    • @andrijkusmich2418
      @andrijkusmich2418 Před 2 lety

      @@MichaelKitas Unfortunately, my searches were fruitless, none of the methods worked :(

  • @marcossantos-ww1gi
    @marcossantos-ww1gi Před rokem +1

    Can you make a video using C# and Cefsharp? Thanks bro nice video!

    • @MichaelKitas
      @MichaelKitas  Před rokem

      Unfortunately, I have no experience with any C, but for sure in the near feature

    • @tradingmania2666
      @tradingmania2666 Před rokem

      Hi Can you please let me know what changes you did to current existing code as now the this hcaptcha solver is not working its giving "hCaptcha solved incorrectly, please try again." error

  • @rodrigogonzalez599
    @rodrigogonzalez599 Před 2 lety +1

    very good video, how do I send a captcha that does not have a check button?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +2

      I haven’t figured out how to do that yet. I will research that and once I find a solution I am going to make a video on it 👍

    • @ansjaved3484
      @ansjaved3484 Před 2 lety +1

      @@MichaelKitas did you find that? actually, I'm facing the same.

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      @@ansjaved3484 Nope

  • @pilyotuts
    @pilyotuts Před 9 měsíci +1

    what theme you are using that was lit

  • @epsilantnft1139
    @epsilantnft1139 Před 2 lety +1

    Where can I download the source code?

  • @THE_OG_OFFICIAL_FF
    @THE_OG_OFFICIAL_FF Před rokem +1

    Yo bro i play poketwo and many other game bots in discord i made autocatcher that help me to grind but the problem is they ask human verification and my self bots cannot do it can u make a bot of captcha solving of bots in discord it will be veryhelp full to my server bro:( i saw many youtubers but nobody made it can u plzz do it bro !

    • @MichaelKitas
      @MichaelKitas  Před 11 měsíci

      Not sure what you mean, do they show a different captcha than the one on the video?

    • @THE_OG_OFFICIAL_FF
      @THE_OG_OFFICIAL_FF Před 11 měsíci

      @@MichaelKitas i mean that i need a discord bot that can verify human verification from poketwo bot....

  • @haroldabella2041
    @haroldabella2041 Před 2 lety +1

    How about without submit button?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety +1

      Once I find a solution, I will make a video on that 👍

    • @tejaswipote8199
      @tejaswipote8199 Před rokem

      @@MichaelKitas any solution for without submit button

  • @ismailennachet90
    @ismailennachet90 Před rokem +1

    Please i need this code ❤❤

    • @MichaelKitas
      @MichaelKitas  Před rokem

      Code, is in the description: github.com/michaelkitas/Python-Selenium-Tutorial

  • @kadirtan6853
    @kadirtan6853 Před 2 lety +1

    You go by so fast I can't follow the codes. What harm can it do to you if you explain it slowly?

    • @MichaelKitas
      @MichaelKitas  Před 2 lety

      Thank you for letting me know, I will go slower from now on 👍
      Thought there is no need to follow the code as it is on the description on my GitHub

    • @kadirtan6853
      @kadirtan6853 Před 2 lety +1

      @@MichaelKitas Thanks. I always follow your videos.