4pr0n / rip

album ripper
GNU General Public License v2.0
45 stars 18 forks source link

Count # of views per album, allow sorting based on view count #21

Open 4pr0n opened 11 years ago

4pr0n commented 11 years ago

Ideas:

Store view counts in a txt file stats.txt.

Could also implement a 'report' button which increments the # of reports an album gets (dupe on IP).

It'd be great if we knew the original URL for an album ... This should be contained in the first lines of the log.txt, but will have to double-check. The album viewer could link to the original URL.

Sort albums based on view count would be expensive -- iterating over every directory, retrieving stats.txt, parsing view count, adding to list, sorting list, returning ... This could be done every 5min via a cronjob, I guess (python_cleanup.py?)