Wednesday, June 8, 2016

Blogger: Total Posts in This Year

Command:

$ curl -vs "http://smashingtheory.blogspot.jp" 2>&1 | grep -o -m 1 "<span class='post-count' dir='ltr'>([0-9]*)" | sed -e 's/[^[[:digit:]]]*//g'

Result:

477