Jump to content

  •  

  • iBotModz CBox


    ikizmert's Content

    There have been 3 items by ikizmert (Search limited from 24-April 23)


    Sort by                Order  

    #134649 C# Loading reCaptcha into a imagebox

    Posted by ikizmert on 29 November 2012 - 07:46 AM in Coding / Development

    okay but i don't understand this working logic. How can i work :no ? Plesae help



    #134647 C# Loading reCaptcha into a imagebox

    Posted by ikizmert on 28 November 2012 - 05:07 PM in Coding / Development

    It seems the recaptcha code has changed.

    			 if (images.GetAttribute("OuterHtml").Contains("http://www.google.com/recaptcha/api/image?"))
    			 {
    				 string url = images.GetAttribute("OuterHtml");
    				 break;
    			 }
    

    That would work, but then you'll need to create some regex to pull the correct stuff out of that url var. It seems recaptcha is changing, but no offense this topic is like 3 years old.

    (images.GetAttribute("OuterHtml").Contains("http://www.google.co...cha/api/image?") = FALSE ; its didnt work.

    but no offense this topic is like 3 years old. i not knowing im sorry... my english easy, i used google translate :))
    Thank you anyway...



    #134645 C# Loading reCaptcha into a imagebox

    Posted by ikizmert on 28 November 2012 - 04:38 PM in Coding / Development

    My code is not is not working,

    private void btnKayit_Click(object sender, EventArgs e)
    	 {
    		 webBrowser1.Navigate("http://xpblogger.com/register.php");
    	 }
    
    foreach (HtmlElement images in webBrowser1.document.Images)
    {
    
    if (images.GetAttribute("src").Contains("http://api.recaptcha.net/noscript?k="))
    {
    string url = images.GetAttribute("src");
    pictureBox1.ImageLocation = url;
    break;
    }
    }

    if (images.GetAttribute("src").Contains("http://api.recaptcha...et/noscript?k=")) type is FALSE
    Please help me. Thank you..