organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2013, 05:47:07 AM |
|
On my end, it doesn't resolve properly (getaddrinfo ENOTFOUND) but maybe you'll have some luck: // whiskers75's /r/Bitcoin Script! :) // Coded by whiskers75 for theymos and users of the Bitcoin Forum.
var http = require('http');
var options = { port: 80, hostname: 'http://www.reddit.com', method: 'GET', path: '/r/bitcoin/about/traffic.json' }; console.log('Requesting ' + options.hostname + options.path + ':' + options.port + ' (' + options.method + ')'); var req = http.request(options, function(res) { res.setEncoding('utf8'); res.on('data', function (chunk) { console.log(chunk); }); }); I think you need a way to include theymos' login details as well.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2013, 07:54:04 PM |
|
I'm on it but will need more time... so busy.
if somebody else would do it I'd be happy.
current suggestion is not complete. not sure about the language.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 12, 2013, 07:27:38 AM |
|
|
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 12, 2013, 07:42:52 AM |
|
Great, phelix! Can't wait to see what you do with it once the data is readily available. Thought about doing something similar for bitcointalk.org?
|
|
|
|
myrkul
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 12, 2013, 06:50:06 PM |
|
Great stuff, Phelix.
|
|
|
|
theymos (OP)
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2013, 02:01:19 AM |
|
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
Zaih
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2013, 10:31:38 AM |
|
Wow, didn't realise the subreddit was so active. Great work guys ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 14, 2013, 09:59:23 AM Last edit: April 14, 2013, 10:26:04 AM by phelix |
|
![Kiss](https://bitcointalk.org/Smileys/default/kiss.gif) Could you also write a "latest.json" file or something? It's kinda hard to properly figure out the time the date changes (especially with freaking summer/winter time).
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 14, 2013, 10:59:26 AM |
|
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fblockchained.com%2Fstuff%2Freddit_stats.png&t=665&c=twnc2EshjjMikg) ohoh this will need some more work to aggregate the data automatically... but the weather is great outside ![Cool](https://bitcointalk.org/Smileys/default/cool.gif)
|
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 14, 2013, 12:17:12 PM |
|
[...] ohoh this will need some more work to aggregate the data automatically... but the weather is great outside ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) Nice work! I didn't think of aggregating the month/week/day data, great idea! Shame the daily data isn't available for the whole period, but if you start collecting now you'll have it from this point on. With lots more data points the correlation should be quite a bit more clear. From your chart it looks pretty clearly to be a log-log relationship.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 14, 2013, 09:16:07 PM |
|
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fwww.blockchained.com%2Frbitcoinstats.png&t=665&c=un8n2ZQuMTHkWw) somewhat messed up but should be updating... Will integrate it into my site when I find the time. And also set up a graph of the forum stats - that might take a while, though.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2013, 06:44:43 PM |
|
I guess it's disabled because of the haxoing...
|
|
|
|
theymos (OP)
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2013, 06:46:37 PM |
|
Yes, but you can download stats directly from Reddit now: http://www.reddit.com/r/Bitcoin/about/traffic.jsonSo I don't think that I will re-enable that script.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2013, 07:35:02 PM |
|
nice So I don't think that I will re-enable that script.
ok Will try to find the time to adapt my script...
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 28, 2013, 07:48:57 AM |
|
Hmm... I can't see any interesting diagram there - am I missing something?
|
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 28, 2013, 09:32:01 AM |
|
Hmm... I can't see any interesting diagram there - am I missing something? It just provides summary stats AFAICT.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 19, 2013, 10:23:35 AM |
|
With the new forum image proxy the chart above is not updating any more... Here you can see the updated version: http://blockchained.com/rbitcoinstats.png
|
|
|
|
|