Skip to content

Instantly share code, notes, and snippets.

@brianpow
Created January 20, 2016 04:44
Show Gist options
  • Save brianpow/5061ca533b3cd0bd5ef9 to your computer and use it in GitHub Desktop.
Save brianpow/5061ca533b3cd0bd5ef9 to your computer and use it in GitHub Desktop.
for /L %%a in (1,1,9) do (
for /L %%b in (0,1,10) do (
call wget -O "0%%a-%%b.html" "http://parknshop.com/1/lc/0%%a0000?resultsForPage=100&page=%%b"
)
)
for /L %%a in (10,1,20) do (
for /L %%b in (0,1,10) do (
call wget -O "%%a-%%b.html" "http://parknshop.com/1/lc/%%a0000?resultsForPage=100&page=%%b"
)
)
del all.htm
for %%a in (*.html) do (
type %%a >> all.htm
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment