Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :janela
- echo off
- mode 30,5
- :variaveis
- set p=Downloads
- set c=Cookies.txt
- set i=historico.txt
- :temporarios
- set link=null
- set r=0
- set b=0
- set r=0
- :script
- title
- cls
- set /p link="Link: "
- echo %link% | find /i ".txt"
- if "%errorlevel%"=="0" (set r=0) else (set r=1)
- set b=0
- if exist %c% set b=1
- if "%r%"=="0" goto lista
- echo %link%>>%i%
- if "%b%"=="0" (wget -P %p% -c %link%) else (wget --load-cookies=%c% -P %p% -c %link%)
- exit
- :lista
- type %link%>>%i%
- if "%b%"=="0" (wget -c -P %p% -i %link%) else (wget --load-cookies=%c% -c -P %p% -i %link%)
- exit
Advertisement
Add Comment
Please, Sign In to add comment