Download Satoshi’s post history

Here’s a simple bash script to download the entire history of Satoshi’s posts on bitcointalk.org

#!/bin/sh
# Fetch all posts by satoshi on bitcoin forum bitcointalk.org
PAGES=27
POSTS_PER_PAGE=20
LAST_PAGE=`expr $PAGES - 1`
for INDEX in `seq 0 $LAST_PAGE`; do
    START=$(($INDEX * $POSTS_PER_PAGE))
    PAGE=`expr $INDEX + 1`
    URL="https://bitcointalk.org/index.php?action=profile;u=3;sa=showPosts;start=$START"
    # Fetch the page
    wget -O posts_$PAGE.html $URL
    # Be a good citizen of the internet
    sleep 1
done

Now you can use standard operating system tools to search instead of the terrible web-based search which is rate limited and feature limited.

 
2
Kudos
 
2
Kudos

Now read this

postfix and golang - sending emails

A quick list of steps to get a server up and running with postfix and a go script to send emails. Install postscript # sudo apt-get install postscript Select ‘local copy’ as the configuration and accept the defaults. Configure postscript... Continue →