Moved url format string to inner loop, as otherwise offset is re-initialised to 0 every iteration. Without this, the first 20 posts are re-appended for (n) steps.
Merge pull request #4 from squidsoup/url-format

Moved url format string to inner loop