This is an iteration on yesterday's Reddit Analysis tool, which contains an overall exception catching in the case that an improper or malformed URL is put into the box. Using yesterday's description: This is a relatively simple Windows Forms Application I've been working on in Visual Studio to try and start learning C# and Windows Forms. It's a fixed window with a URL input bar at the top which accepts a link to a subreddit, or the name of the subreddit in the format "/r/subredditname". It then opens that subreddit, checks for all the posts that are above the vote score threshold set just under the URL bar, and returns the average score, time of day, and day of the week for these posts in the attempt to help you see when the most popular posts are made on any given subreddit. It was made with the help of the HTML Agility Pack in order to load and locate the nodes in the Reddit HTML code. ![]()
Here's the updated applicable source code for the program, including the new try-catch exception handling encompassing the bulk of the code.
0 Comments
Leave a Reply. |
AuthorMy name is Jeffrey Hepburn, and I'm a young writer, graphic design artist, and aspiring filmmaker. Categories
All
Archives
June 2016
|