lukapusic/soundcloud-dl — pull request #1 by ivanov (2012-07-17 23:08:57+00:00)
Title: handle 10+ pages properly, resume downloads, fix markdown 

Hey, thanks for this, I found it useful and added a few extra niceties:

proper pagination handling …

Before this commit, the way the sorting worked, if there were 10 (or more) pages, then
the lexicographic sorting order would be something like:

10
2
3

With this commit, by `cut`ting the `page=` first, and then doing a `sort` numerically
(`-n` flag), you get the more appropriate order:

2
3
10

resume partial downloads (wget and curl) …

with this commit, wget and curl will try to resume partially downloaded files.
If a file has been completely downloaded, soundcloud.sh will just go on to the
next one.

Before this commit, soundcloud would try to re-download all files again if you
ran it twice.

Fix markdown quirks and document new changes
The top block of the README was being rendered as one line (lines need two spaces at the end in order to force a linebreak, [apparently](http://meta.stackoverflow.com/questions/26011/should-the-markdown-renderer-treat-a-single-line-break-as-br). Also, the `###` headings needed whitespace around them to become subheadings. I've added documentation of the new features, as well. See the rendered [README with the fixes](https://github.com/ivanov/soundcloud-dl), and compare it to the [README without the fixes](https://github.com/lukapusic/soundcloud-dl)