Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 1578

[C#] Need help on parsing from a Website

by BYL - 20 June, 2019 - 07:42 PM
This post is by a banned member (BYL) - Unhide
BYL  
Supreme
422
Posts
109
Threads
5 Years of service
#1
Hello i want to make an Account generator for that i need to get data from a webstie to insert into the other one.
So i use an Webbrowser where i want to parse from but i dont know how....

Website (https://www.fakenamegenerator.com/advanced.php)
And i want to get things like phone number name and so on as an string.

Also it would be nice if someone can tell me how to set the range slider to a certain number and so on.

Thank you
Fiesta
[Image: 5K0pDMoCp.png]

If you want to contact me write me a pm or add me on Discord!
Discord UID: 23685394039xxxx969
This post is by a banned member (BYL) - Unhide
BYL  
Supreme
422
Posts
109
Threads
5 Years of service
#2
This is a bump
[Image: 5K0pDMoCp.png]

If you want to contact me write me a pm or add me on Discord!
Discord UID: 23685394039xxxx969
This post is by a banned member (Plot) - Unhide
This post is by a banned member (hoaisonbk) - Unhide
hoaisonbk  
Registered
42
Posts
5
Threads
4 Years of service
#4
Quote:public string GetHtmlFromUrl(string url)
        {
            string result = "";
            HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
            httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip;
            using (HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse())
            {
                using (Stream responseStream = httpWebResponse.GetResponseStream())
                {
                    using (StreamReader streamReader = new StreamReader(responseStream))
                    {
                        result = streamReader.ReadToEnd();
                    }
                }
            }
            return result;
        }

This is my code download source from url. It worked!  :feelsgood:
If you want to download many combo, you can install combo free for chrome

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)