blackretina

imagedl.bat

Aug 20th, 2014
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set /p REFERER=Enter The referer URL:%=%
  2. set /p FNP=Enter the file name prefix:%=%
  3. set /p PREFIX=Enter any prefix for numbers 0-9:%=%
  4. set /p LOWERBOUND=Enter lower bound:%=%
  5. set /p UPPERBOUND=Enter upper bound:%=%
  6. set /p EXTENSION=Enter the extension:%=%
  7.  
  8. IF %LOWERBOUND% LSS 10 (
  9.   for /l %%x in (%LOWERBOUND%, 1, %UPPERBOUND%) do (
  10.     "C:\Program Files (x86)\GnuWin32\bin\wget" --random-wait --referer=%URL% -r -p -e robots=off -U mozilla "%REFERER%/%FNP%%PREFIX%%%x%EXTENSION%"
  11.   )
  12.   set LOWERBOUND=10
  13. )
  14.  
  15. for /l %%x in (%LOWERBOUND%, 1, %UPPERBOUND%) do (
  16.   "C:\Program Files (x86)\GnuWin32\bin\wget" --random-wait --referer=%URL% -r -p -e robots=off -U mozilla "%REFERER%/%FNP%%%x%EXTENSION%"
  17. )
  18.  
  19. pause
Add Comment
Please, Sign In to add comment