srid / weeklyreddit Goto Github PK
View Code? Open in Web Editor NEWRSS of weekly top posts in reddit. Superseded by https://github.com/srid/slownews
RSS of weekly top posts in reddit. Superseded by https://github.com/srid/slownews
weeklyreddit.appspot.com is no longer up because the associated Google account was deleted. it would be better to migrate it to somewhere else (docker container on my VPS) with its own domain.
See http://weeklyreddit.appspot.com/rss/javascript . For some reason it gives following error for me:
Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__ handler.get(*groups) File "/base/data/home/apps/weeklyreddit/1.348130647032760310/main.py", line 183, in get reddit_top_links_rss(subreddit or 'reddit.com') File "/base/data/home/apps/weeklyreddit/1.348130647032760310/main.py", line 117, in reddit_top_links_rss for link in CurrentWeekEntry.reddit_top_links_for_this_week(subreddit): File "/base/data/home/apps/weeklyreddit/1.348130647032760310/main.py", line 73, in reddit_top_links_for_this_week j = reddit_top_links(subreddit) File "/base/data/home/apps/weeklyreddit/1.348130647032760310/main.py", line 106, in reddit_top_links j = json.load(urllib.urlopen(top_url)) File "/base/python_runtime/python_lib/versions/1/simplejson/__init__.py", line 332, in load use_decimal=use_decimal, **kw) File "/base/python_runtime/python_lib/versions/1/simplejson/__init__.py", line 388, in loads return _default_decoder.decode(s) File "/base/python_runtime/python_lib/versions/1/simplejson/decoder.py", line 402, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/base/python_runtime/python_lib/versions/1/simplejson/decoder.py", line 418, in raw_decode obj, end = self.scan_once(s, idx) File "/base/python_runtime/python_lib/versions/1/simplejson/scanner.py", line 71, in scan_once return _scan_once(string, idx) File "/base/python_runtime/python_lib/versions/1/simplejson/scanner.py", line 42, in _scan_once _scan_once, object_hook, object_pairs_hook, memo) File "/base/python_runtime/python_lib/versions/1/simplejson/decoder.py", line 206, in JSONObject raise JSONDecodeError("Expecting property name", s, end) JSONDecodeError: Expecting property name: line 1 column 1 (char 1)
need a way to get weekly rss for things like:
http://www.reddit.com/domain/theoatmeal.com/top/?t=week
http://www.reddit.com/domain/xkcd.com/top/?t=week
this also take duplicates into account. the xkcd page has quite a few at the moment.
eg: http://www.reddit.com/r/TwoXChromosomes/
T, X and C are in caps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.