📜 ⬆️ ⬇️

My rating

This is how some bookmarks in Fast Dial look like:
Image bookmarks

Once I noticed that the first thing, instead of going where I wanted, opening a browser, I visit several resources, 2 of which are shown in the image above. I visited the rating pages to adjust the reception / feedback of the torrent client. To find out if it’s time to put a long-awaited film on the download, or better to sit on the distribution of the popular series, so that tomorrow, without fear of slipping to the minimum mark, put on download what I’m interested in, but you won’t earn a rating ...
I got tired of it and I said to myself: why not to make the rating appear before my eyes right after opening the browser window, and even from all the sites that interest me at the same time? No sooner said than done. For a couple of evenings, a small program was written, which, when launched, goes to specified addresses, collects statistics and displays it in pictures, which are then used as images on bookmarks.

Within a few weeks, it runs on a schedule and does an excellent job. During this time, the situation with the rating has improved significantly: now he is not on the verge of the minimum allowable, because he has looked for her applications - to show information from Habr, to display the number of films. And ideas began to arise to improve this simple program. Add storage of statistics for the period, visual reflection of the rating in the form of graphs, develop a window interface (now the management of modest features is implemented through the command line), embed a visual designer (now you can add a new site or change the appearance only by editing text files), etc. . etc.
And the same question arose: is it necessary for someone else besides me? Or perhaps there are ready-made solutions that I do not know about? I hope your comments will dispel the shadow of my doubts.

A brief description, or how it works and what it is

The program is written in C #, it works under Windows (tested so far only on XP and Windows 7).
After launching, it searches for files in its folder containing descriptions of pages with a rating, templates for searching for indicators and rules for displaying them, processes each found file: logs in to the site (if necessary), receives a page with a rating, finds the necessary data, displays indicators to a picture and saves it to PNG. This is where her mission ends.
')
UPD. I will post the program itself as soon as I write a sane manual.
Program
Source code

Source: https://habr.com/ru/post/56876/


All Articles