How To Code A Web Scraper In C# | Programming Tutorial For Beginners
Vložit
- čas přidán 21. 02. 2023
- Hey there!
In today's video, we discuss how to code a web scraper in C#. Web scraping is ultra useful for a variety of programs and a fun way to test out your programming skills. Enjoy!
Thanks for watching! :)
This project is available on GitHub at
--------------------------------------------------------------------------------------
github.com/ShaunHalverson/C-W...
Add Me On Discord!
--------------------------------------------------------------------------------------
Username: Shaun(Hashtag)5626
Want to see more?
--------------------------------------------------------------------------------------
/ @shaunhalverson
Legal Disclaimer
--------------------------------------------------------------------------------------
Assets in the thumbnail & video were provided by artists on
www.canva.com
The art used in this video is from Canva and is used solely for the purpose of enhancing or demonstrating these coding tutorials. I do not claim ownership or credit for any of the art shown in this video. I am a paid member of Canva Pro and have the rights to use the art in this video as outlined in my membership agreement. If you have any questions about the use of the art in this video, please contact me.
Video Tags
--------------------------------------------------------------------------------------
Software Engineering / Programming for beginners / variables types / computer science / compsci / coding for beginners / learn how to program / learn how to code / C# variables / python for beginners / coding tutorial / programming tutorial
#programming #tutorial #learntocode
Super simple scraper example. Love it! Very helpful.
This is a great video for beginners, liked and thanks!
Best video I have found on how to get the htmlDocument. Thanks.
A very nice and concise video on the topic. Thank you.
Learning a lot from your vids. Thanks!
Awesome tutorial brother 🤝
Quick and easy, thanks
Superb and informative with very nice explaination.
Nice video bro!
Thank you so much
Hello. I'm getting error 401 (http forbidden). How can I solve it?
awsome
is there a way to obtain a certain cookie from a website
Hey, this video helped a ton!
I've got one question though. Is this possible to scrap basic information and detect whether the object presence is true or false?
I want to web scrape information from the Flight Radar website. When the certain helicopter is flying, it appears on the flight radar website. If it lands, the helicopter disappears from the map.
Is this possible to make an app that sends a notification whenever the desire object pops up on the map? I'd be grateful for some guidance!!!
HELL YA!
How does someone build the SDK to scrape the internet from scratch?
hey man can you please help me with a code that can screen scrape videos time that i'm watching?
Can't we just look for class and ignore element altogether? It will make it more generic.
Cant get the example to work. Only gets a null reference.
the html class at conditionElement is a div not a span. The string should look: "//div[@class='....
Thats becouse u using httpClient.GetAsync(url) instead of httpClient.GetStringAsync(url)
Thank you it help me a lot, but how could get aria-label data from below structure, thank you!!
I know it has been 5 months, but just in case you are curious, you could try.
IWebElement element = driver.FindElement(By.CssSelector(".result-content"));
string valueAriaLabel = element.GetAttribute("aria-label");
This trys to select the element by using the class result-content. You could also use XPath. And then you just use element.GetAttribute("aria-label") to get the content you need, in this case it would be
"Substance Result: 61-68-7, Mefenamic acid"
Thanks, that was well and easily explained. Why won't (Point == $0) be fetched? Many other things I get hold of, but not one like this. User //td[@id='point']
no salio
Thank you so much