How To Code A Web Scraper In C# | Programming Tutorial For Beginners
HTML-код
- Опубликовано: 20 авг 2024
- 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/Sha...
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
Best video I have found on how to get the htmlDocument. Thanks.
This is a great video for beginners, liked and thanks!
Super simple scraper example. Love it! Very helpful.
A very nice and concise video on the topic. Thank you.
Hello. I'm getting error 401 (http forbidden). How can I solve it?
Learning a lot from your vids. Thanks!
Awesome tutorial brother 🤝
Superb and informative with very nice explaination.
Quick and easy, thanks
Can't we just look for class and ignore element altogether? It will make it more generic.
HELL YA!
How does someone build the SDK to scrape the internet from scratch?
is there a way to obtain a certain cookie from a website
Thank you so much
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)
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!!!
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']
Nice video bro!
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"
awsome
no salio
Thank you so much