reader

所属分类:后台框架
开发工具:Python
文件大小:4KB
下载次数:0
上传日期:2015-11-22 23:56:46
上 传 者sh-1993
说明:  我在2013年为Programmrs的“2013年新闻阅读器”竞赛制作的一款小型Bottle应用程序。仍然有效。差不多吧。
(A little Bottle app I made back in 2013 for Programmr s "News Reader 2013" contest. Still works. Kinda.)

文件列表:
reader.py (6449, 2015-11-23)
template.html (1623, 2015-11-23)

# Reader A little Bottle app I made back in 2013 for a coding contest. Still works. Kinda. ## What it does Straight from the docstring: ``` This little app was made for Programmr's "News Reader 2013" contest. What it tries to do is to present the top 3 news from CNN, ABC and NBC that belong to a a set of shared/common topics between these 3 news sites, ordered by occurrences (number of news of each topic). Works by fetching the Top Stories feeds from CNN, ABC and NBC, stripping some common words from the titles, then filtering the title words that are most common in the 3 feeds, selecting the top 3 topics, then picking a random new item from each topic and displaying the result. ``` ## What it looks like ![Reader](http://i.imgur.com/F93adt5.png) ## How to run it ``` pip install bottle pip install feedparser python reader.py ``` Then go to http://localhost:8080

近期下载者

相关文件


收藏者