fearofcode/scraps
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This directory contains miscellaneous code that seems worthwile but is small and not undergoing further development. * videorank.py: This little script will grab the Atom feed entries for a YouTube channel and sort them according to how "hot" they are, with old videos with a lot of views still staying pretty hot but also allowing cool new videos to rank highly. The ranking measure is borrowed from Hacker News' alleged ranking formula [1]. It is currently: rank = (view count - 1)/(age in days + 2)**1.5 At the moment all it does is spit out an HTML file as a console app. I might eventually convert it to a web app. [1] http://news.ycombinator.com/item?id=231209
About
Miscellaneous stuff that doesn't fit anywhere else
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published