Starting the new quarter with a college course on Visual Basic, I've gone back to my old Reddit Traffic Analysis program, rewritten it in Visual Basic, and added some new features. There's now a label for the vote threshold box which should make it easier to understand, and a web browser to view the pages you're going to and what the tool is parsing from. The URL bar doesn't currently reflect the page you're on if you click a link because I ran into a lot of issues where the URL bar was ending up just displaying the address of the advertisement servers instead of the main URL of the subreddit, but it does still work as before allowing you to copy and paste a specific subreddit address, or just put in "/r/SubredditName". The output box below also has run into some formatting issues as the new line doesn't seem to be working. As before, it doesn't parse anything but a subreddit because it is looking for the sitetable and document nodes to read from. There's also now separate buttons for going to a URL and parsing the page you're on. Description from the original version: 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. ![]()
0 Comments
Your comment will be posted after it is approved.
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
|