In this guide, we'll take a CRUD application and add a new service to perform web scraping using HTML Agility Pack. We'll see how we can obtain data from a typical website and use it to persist data to a database. We'll also see how we can connect to external APIs, read and deserialize JSON feeds
The written version of this tutorial is here, this contains the GitHub resources as well:
https://aspnano.com/web-scraping-in-c...
Check out the blogs to learn more about programming with ASP.NET, C#, and web development:
https://aspnano.com/blog
Nano Boilerplate CLI tools, deploy customized SaaS projects instantly:
https://aspnano.com/
0:00 - Intro
0:45 - Create a Service for Web Scraping
2:05 - Adding HTML Agility pack
3:32 - XPath Selection Criteria
4:49 - Testing initial scraping code
6:58 - Handling HTML Nodes
9:15 - Persist to Database
10:52 - Finding background APIs
13:53 - Obtaining data from API feeds
18:12 - Final points
Смотрите видео Web Scraping with C# .NET & HTML Agility Pack. Free 20 Min Guide + GitHub Resources онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Nano ASP Boilerplate 16 Октябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 23 раз и оно понравилось 1 людям.