A simple HTML Scraper in C# using Windows Forms
This code is based on the tutorial at https://dev.to/rachelsoderberg/create-a-simple-web-scraper-in-c-1l1m, and scrapes from articles at Ocean Networks Canada using AngleSharp. The user enters search terms, and is given corresponding article names and links.
Besides following along from scratch, I've added a search box to allow custom search terms without needing to refactor the code, and some other functions, along with helpful comments.
- Windows Forms manipulation
- HTML document parsing
- Asynchronous HTML code scraping
- Search box allowing multiple terms separated by commas
- Advanced string manipulation
View a screenshot: https://orrettcoke.wordpress.com/2020/04/19/html-scraper-c/.