alex_diablo
Постоянный участник
- Сообщения
- 144
- Реакции
- 9
wget https://unity3d.com/ru/unity/qa/patch-releases
@echo off
set "command=wget -q --force-html -O- --level=1 --no-cache --retry-connrefused --tries=3 --connect-timeout=5 --no-check-certificate https://unity3d.com/ru/unity/qa/patch-releases/"
for /f UseBackQ^ tokens^=2^ delims^=^" %%a in (`%command% ^| find /i "UnitySetup64"`) do (
wget --tries=3 --connect-timeout=5 --retry-connrefused --continue --no-check-certificate "%%a"
goto end
)
:end
pause
set ver=5.3.6р1
unitysetup64-%ver%.exe
@echo off
SetLocal EnableExtensions
set "ver=5.3.5p5"
set "bit=UnitySetup64"
set "command=wget -q --force-html -O- --level=1 --no-cache --retry-connrefused --tries=3 --connect-timeout=5 --no-check-certificate https://unity3d.com/ru/unity/qa/patch-releases/"
for /f UseBackQ^ tokens^=2^ delims^=^" %%a in (`%command% ^| find /i "%bit%" ^| find /i "%ver%"`) do (
rem echo "%%a"
for /f "tokens=4 delims=/" %%b in ("%%a") do set "url=%%b"
goto end
)
:end
echo %url%
pause
exit /B
wget -P "\\file_server\soft\unity" -O index.html https://unity3d.com/ru/unity/qa/patch-releases/
wget -O "\\file_server\soft\unity\index.html" https://unity3d.com/ru/unity/qa/patch-releases/
вопрос касательно 1 варианта скрипта: как заставить wget выкачивать файл в сетевую шару? например в: \\file_server\soft\unity
https://unity3d.com/ru/unity/qa/patch-releases
https://unity3d.com/ru/unity/qa/patch-releases?page=2
...
https://unity3d.com/ru/unity/qa/patch-releases?page=20
@echo off
SetLocal EnableExtensions
set "ver=5.3.6р1"
set "bit=UnitySetup64"
:: временная папка для скачивания html (не указывайте закрывающий слэш)
set tmpFolder=.
set "UnityURL=https://unity3d.com/ru/unity/qa/patch-releases/"
wget -q --force-html -P "%tmpFolder%" -O "index.html" --level=1 --no-cache --retry-connrefused --tries=3 --connect-timeout=5 --no-check-certificate %UnityURL% || (
echo Не удалось скачать страницу.
pause >NUL
exit /B
)
:begin
cls
echo Unity3D Downloader
echo.
echo Список доступных версий:
echo.
for /f tokens^=2^ delims^=^" %%a in ('type "%tmpFolder%\index.html" ^| find /i "%bit%"') do (
for /f "tokens=6 delims=/" %%b in ("%%a") do (
for /f "tokens=2 delims=-" %%c in ("%%b") do set /p "=%%~nc - "<NUL & for /f "tokens=4 delims=/" %%b in ("%%a") do echo %%b
)
)
echo.
echo Выбрана: %ver%
echo.
for /f tokens^=2^ delims^=^" %%a in ('type "%tmpFolder%\index.html" ^| find /i "%bit%" ^| find /i "%ver%"') do (
rem echo "%%a"
for /f "tokens=4 delims=/" %%b in ("%%a") do set "url=%%b"
goto end
)
:end
if defined url (
echo Код для скачивания: %url%
) else (
set /p "ver=Версия не найдена! Введите новую: "
goto begin
)
echo.
pause
http://beta.unity3d.com/download/0947a3bf5ea4/Windows64EditorInstaller/UnitySetup64-5.3.5p6.exe
http://beta.unity3d.com/download/0947a3bf5ea4/Windows32EditorInstaller/UnitySetup32-5.3.5p6.exe
http://beta.unity3d.com/download/2fb591d65635/Windows64EditorInstaller/UnitySetup64-5.3.5p5.exe
http://beta.unity3d.com/download/2fb591d65635/Windows32EditorInstaller/UnitySetup32-5.3.5p5.exe
http://beta.unity3d.com/download/f55402cb6571/Windows64EditorInstaller/UnitySetup64-5.3.5p4.exe
http://beta.unity3d.com/download/f55402cb6571/Windows32EditorInstaller/UnitySetup32-5.3.5p4.exe
http://beta.unity3d.com/download/4c1fbb057dc3/Windows64EditorInstaller/UnitySetup64-5.3.5p3.exe
http://beta.unity3d.com/download/4c1fbb057dc3/Windows32EditorInstaller/UnitySetup32-5.3.5p3.exe
http://beta.unity3d.com/download/3103edb99077/Windows64EditorInstaller/UnitySetup64-5.3.5p2.exe
http://beta.unity3d.com/download/3103edb99077/Windows32EditorInstaller/UnitySetup32-5.3.5p2.exe
http://beta.unity3d.com/download/04596651afa0/Windows64EditorInstaller/UnitySetup64-5.3.5p1.exe
http://beta.unity3d.com/download/04596651afa0/Windows32EditorInstaller/UnitySetup32-5.3.5p1.exe
http://beta.unity3d.com/download/9eb825cf2ca3/Windows64EditorInstaller/UnitySetup64-5.3.4p6.exe
http://beta.unity3d.com/download/9eb825cf2ca3/Windows32EditorInstaller/UnitySetup32-5.3.4p6.exe
http://beta.unity3d.com/download/83b1f50dd5b8/Windows64EditorInstaller/UnitySetup64-5.3.4p5.exe
http://beta.unity3d.com/download/83b1f50dd5b8/Windows32EditorInstaller/UnitySetup32-5.3.4p5.exe
http://beta.unity3d.com/download/43a3882ae25c/Windows64EditorInstaller/UnitySetup64-5.3.4p4.exe
http://beta.unity3d.com/download/43a3882ae25c/Windows32EditorInstaller/UnitySetup32-5.3.4p4.exe
http://beta.unity3d.com/download/b902ad490cea/Windows64EditorInstaller/UnitySetup64-5.3.4p3.exe
http://beta.unity3d.com/download/b902ad490cea/Windows32EditorInstaller/UnitySetup32-5.3.4p3.exe
http://beta.unity3d.com/download/fdf8d87c549e/Windows64EditorInstaller/UnitySetup64-5.3.4p2.exe
http://beta.unity3d.com/download/fdf8d87c549e/Windows32EditorInstaller/UnitySetup32-5.3.4p2.exe
http://beta.unity3d.com/download/e89f89413a91/Windows64EditorInstaller/UnitySetup64-5.3.4p1.exe
http://beta.unity3d.com/download/e89f89413a91/Windows32EditorInstaller/UnitySetup32-5.3.4p1.exe
http://beta.unity3d.com/download/1d2e01741d9f/Windows64EditorInstaller/UnitySetup64-5.3.3p3.exe
http://beta.unity3d.com/download/1d2e01741d9f/Windows32EditorInstaller/UnitySetup32-5.3.3p3.exe
http://beta.unity3d.com/download/86ede31d5f8d/Windows64EditorInstaller/UnitySetup64-5.3.3p2.exe
http://beta.unity3d.com/download/86ede31d5f8d/Windows32EditorInstaller/UnitySetup32-5.3.3p2.exe
http://beta.unity3d.com/download/828971bd30e1/Windows64EditorInstaller/UnitySetup64-5.3.3p1.exe
http://beta.unity3d.com/download/828971bd30e1/Windows32EditorInstaller/UnitySetup32-5.3.3p1.exe
http://beta.unity3d.com/download/3df229d35023/Windows64EditorInstaller/UnitySetup64-5.3.2p4.exe
http://beta.unity3d.com/download/3df229d35023/Windows32EditorInstaller/UnitySetup32-5.3.2p4.exe
http://beta.unity3d.com/download/b6c1a63227dc/Windows64EditorInstaller/UnitySetup64-5.3.2p3.exe
http://beta.unity3d.com/download/b6c1a63227dc/Windows32EditorInstaller/UnitySetup32-5.3.2p3.exe
http://beta.unity3d.com/download/dec88fd2a56c/Windows64EditorInstaller/UnitySetup64-5.3.2p2.exe
http://beta.unity3d.com/download/dec88fd2a56c/Windows32EditorInstaller/UnitySetup32-5.3.2p2.exe
http://beta.unity3d.com/download/82077c0be25b/Windows64EditorInstaller/UnitySetup64-5.3.2p1.exe
http://beta.unity3d.com/download/82077c0be25b/Windows32EditorInstaller/UnitySetup32-5.3.2p1.exe
http://beta.unity3d.com/download/9ca6c7a9c23e/Windows64EditorInstaller/UnitySetup64-5.3.1p4.exe
http://beta.unity3d.com/download/9ca6c7a9c23e/Windows32EditorInstaller/UnitySetup32-5.3.1p4.exe
http://beta.unity3d.com/download/a581c9fffe9f/Windows64EditorInstaller/UnitySetup64-5.3.1p3.exe
http://beta.unity3d.com/download/a581c9fffe9f/Windows32EditorInstaller/UnitySetup32-5.3.1p3.exe
http://beta.unity3d.com/download/49544457ab1d/Windows64EditorInstaller/UnitySetup64-5.3.1p2.exe
http://beta.unity3d.com/download/49544457ab1d/Windows32EditorInstaller/UnitySetup32-5.3.1p2.exe
http://beta.unity3d.com/download/7d3d8e90548b/Windows64EditorInstaller/UnitySetup64-5.3.1p1.exe
http://beta.unity3d.com/download/7d3d8e90548b/Windows32EditorInstaller/UnitySetup32-5.3.1p1.exe
http://beta.unity3d.com/download/383123ade41b/Windows64EditorInstaller/UnitySetup64-5.2.3p3.exe
http://beta.unity3d.com/download/383123ade41b/Windows32EditorInstaller/UnitySetup32-5.2.3p3.exe
http://beta.unity3d.com/download/8837012679/UnitySetup_update-4.6.9p4.exe
http://beta.unity3d.com/download/b5869bab0ca4/Windows64EditorInstaller/UnitySetup64-5.2.3p2.exe
http://beta.unity3d.com/download/b5869bab0ca4/Windows32EditorInstaller/UnitySetup32-5.2.3p2.exe
http://beta.unity3d.com/download/16366bd81e69/Windows64EditorInstaller/UnitySetup64-5.2.3p1.exe
http://beta.unity3d.com/download/16366bd81e69/Windows32EditorInstaller/UnitySetup32-5.2.3p1.exe
http://beta.unity3d.com/download/9331449333/UnitySetup_update-4.6.9p3.exe
http://beta.unity3d.com/download/93d0b2db7c56/Windows64EditorInstaller/UnitySetup64-5.2.2p4.exe
http://beta.unity3d.com/download/93d0b2db7c56/Windows32EditorInstaller/UnitySetup32-5.2.2p4.exe
http://beta.unity3d.com/download/75b999ee8bfd/Windows64EditorInstaller/UnitySetup64-5.2.2p3.exe
http://beta.unity3d.com/download/75b999ee8bfd/Windows32EditorInstaller/UnitySetup32-5.2.2p3.exe
http://beta.unity3d.com/download/2932625209/UnitySetup_update-4.6.9p2.exe
http://beta.unity3d.com/download/67d68477bb52/Windows64EditorInstaller/UnitySetup64-5.2.2p2.exe
http://beta.unity3d.com/download/67d68477bb52/Windows32EditorInstaller/UnitySetup32-5.2.2p2.exe
http://beta.unity3d.com/download/7552024939/UnitySetup_update-4.6.9p1.exe
http://beta.unity3d.com/download/6dd5cd7ea574/Windows64EditorInstaller/UnitySetup64-5.2.2p1.exe
http://beta.unity3d.com/download/6dd5cd7ea574/Windows32EditorInstaller/UnitySetup32-5.2.2p1.exe
http://beta.unity3d.com/download/9a78a9ce1e6c/Windows64EditorInstaller/UnitySetup64-5.2.1p4.exe
http://beta.unity3d.com/download/9a78a9ce1e6c/Windows32EditorInstaller/UnitySetup32-5.2.1p4.exe
http://beta.unity3d.com/download/5813573737/UnitySetup_update-4.6.8p4.exe
http://beta.unity3d.com/download/b7d18ab613bc/Windows64EditorInstaller/UnitySetup64-5.2.1p3.exe
http://beta.unity3d.com/download/b7d18ab613bc/Windows32EditorInstaller/UnitySetup32-5.2.1p3.exe
http://beta.unity3d.com/download/008af436a8e0/Windows64EditorInstaller/UnitySetup64-5.2.1p2.exe
http://beta.unity3d.com/download/008af436a8e0/Windows32EditorInstaller/UnitySetup32-5.2.1p2.exe
http://beta.unity3d.com/download/1823726533/UnitySetup_update-4.6.8p3.exe
http://beta.unity3d.com/download/9d7f6c38e90b/Windows64EditorInstaller/UnitySetup64-5.2.1p1.exe
http://beta.unity3d.com/download/9d7f6c38e90b/Windows32EditorInstaller/UnitySetup32-5.2.1p1.exe
http://beta.unity3d.com/download/cd0778e591b3/Windows64EditorInstaller/UnitySetup64-5.2.0p1.exe
http://beta.unity3d.com/download/cd0778e591b3/Windows32EditorInstaller/UnitySetup32-5.2.0p1.exe
http://beta.unity3d.com/download/0168183689/UnitySetup_update-4.6.8p2.exe
http://beta.unity3d.com/download/f0a33a6ef422/Windows64EditorInstaller/UnitySetup64-5.1.3p3.exe
http://beta.unity3d.com/download/f0a33a6ef422/Windows32EditorInstaller/UnitySetup32-5.1.3p3.exe
http://beta.unity3d.com/download/bebcb01d8ab6/Windows64EditorInstaller/UnitySetup64-5.1.3p2.exe
http://beta.unity3d.com/download/bebcb01d8ab6/Windows32EditorInstaller/UnitySetup32-5.1.3p2.exe
http://beta.unity3d.com/download/2159760418/UnitySetup_update-4.6.8p1.exe
http://beta.unity3d.com/download/8e79cb51fdc7/Windows64EditorInstaller/UnitySetup64-5.1.3p1.exe
http://beta.unity3d.com/download/8e79cb51fdc7/Windows32EditorInstaller/UnitySetup32-5.1.3p1.exe
http://beta.unity3d.com/download/8351869017/UnitySetup_update-4.6.7p4.exe
http://beta.unity3d.com/download/65486b59c7a9/Windows64EditorInstaller/UnitySetup64-5.1.2p3.exe
http://beta.unity3d.com/download/65486b59c7a9/Windows32EditorInstaller/UnitySetup32-5.1.2p3.exe
http://beta.unity3d.com/download/5074993455/UnitySetup_update-4.6.7p3.exe
http://beta.unity3d.com/download/207c2b8718a4/Windows64EditorInstaller/UnitySetup64-5.1.2p2.exe
http://beta.unity3d.com/download/207c2b8718a4/Windows32EditorInstaller/UnitySetup32-5.1.2p2.exe
http://beta.unity3d.com/download/4b35e09f2de6/Windows64EditorInstaller/UnitySetup64-5.1.2p1.exe
http://beta.unity3d.com/download/4b35e09f2de6/Windows32EditorInstaller/UnitySetup32-5.1.2p1.exe
http://beta.unity3d.com/download/2870685207/UnitySetup_update-4.6.7p2.exe
http://beta.unity3d.com/download/c439df19cd24/Windows64EditorInstaller/UnitySetup64-5.1.1p4.exe
http://beta.unity3d.com/download/c439df19cd24/Windows32EditorInstaller/UnitySetup32-5.1.1p4.exe
http://beta.unity3d.com/download/7163471047/UnitySetup_update-4.6.7p1.exe
http://beta.unity3d.com/download/369fd983d9e1/Windows64EditorInstaller/UnitySetup64-5.1.1p3.exe
http://beta.unity3d.com/download/369fd983d9e1/Windows32EditorInstaller/UnitySetup32-5.1.1p3.exe
http://beta.unity3d.com/download/3179931128/UnitySetup_update-4.6.6p4.exe
http://beta.unity3d.com/download/82544090e14f/Windows64EditorInstaller/UnitySetup64-5.1.1p2.exe
http://beta.unity3d.com/download/82544090e14f/Windows32EditorInstaller/UnitySetup32-5.1.1p2.exe
http://beta.unity3d.com/download/70d53b55896f/Windows64EditorInstaller/UnitySetup64-5.0.3p3.exe
http://beta.unity3d.com/download/70d53b55896f/Windows32EditorInstaller/UnitySetup32-5.0.3p3.exe
http://beta.unity3d.com/download/17d6a7a3ab46/Windows64EditorInstaller/UnitySetup64-5.1.1p1.exe
http://beta.unity3d.com/download/17d6a7a3ab46/Windows32EditorInstaller/UnitySetup32-5.1.1p1.exe
http://beta.unity3d.com/download/7941417566/UnitySetup_update-4.6.6p3.exe
http://beta.unity3d.com/download/fdc6dca0d330/Windows64EditorInstaller/UnitySetup64-5.0.3p2.exe
http://beta.unity3d.com/download/fdc6dca0d330/Windows32EditorInstaller/UnitySetup32-5.0.3p2.exe
http://beta.unity3d.com/download/bbc4736be0f7/Windows64EditorInstaller/UnitySetup64-5.1.0p1.exe
http://beta.unity3d.com/download/bbc4736be0f7/Windows32EditorInstaller/UnitySetup32-5.1.0p1.exe
http://beta.unity3d.com/download/7917166999/UnitySetup_update-4.6.6p2.exe
http://beta.unity3d.com/download/9e18eb741247/Windows64EditorInstaller/UnitySetup64-5.0.3p1.exe
http://beta.unity3d.com/download/9e18eb741247/Windows32EditorInstaller/UnitySetup32-5.0.3p1.exe
http://beta.unity3d.com/download/1038498815/UnitySetup_update-4.6.6p1.exe
http://beta.unity3d.com/download/55ac7f2bae00/Windows64EditorInstaller/UnitySetup64-5.0.2p4.exe
http://beta.unity3d.com/download/55ac7f2bae00/Windows32EditorInstaller/UnitySetup32-5.0.2p4.exe
http://beta.unity3d.com/download/3145472565/UnitySetup_update-4.6.5p4.exe
http://beta.unity3d.com/download/d1699214cbc5/Windows64EditorInstaller/UnitySetup64-5.0.2p3.exe
http://beta.unity3d.com/download/d1699214cbc5/Windows32EditorInstaller/UnitySetup32-5.0.2p3.exe
http://beta.unity3d.com/download/0051793213/UnitySetup_update-4.6.5p3.exe
http://beta.unity3d.com/download/f0e1974f8a5a/Windows64EditorInstaller/UnitySetup64-5.0.2p2.exe
http://beta.unity3d.com/download/f0e1974f8a5a/Windows32EditorInstaller/UnitySetup32-5.0.2p2.exe
http://beta.unity3d.com/download/2232048192/UnitySetup_update-4.6.5p2.exe
http://beta.unity3d.com/download/8532b35838a2/Windows64EditorInstaller/UnitySetup64-5.0.2p1.exe
http://beta.unity3d.com/download/8532b35838a2/Windows32EditorInstaller/UnitySetup32-5.0.2p1.exe
http://beta.unity3d.com/download/d5a3c6c514e1/Windows64EditorInstaller/UnitySetup64-5.0.1p4.exe
http://beta.unity3d.com/download/d5a3c6c514e1/Windows32EditorInstaller/UnitySetup32-5.0.1p4.exe
http://beta.unity3d.com/download/5847334882/UnitySetup_update-4.6.5p1.exe
http://beta.unity3d.com/download/831bf8db21f1/Windows64EditorInstaller/UnitySetup64-5.0.1p3.exe
http://beta.unity3d.com/download/831bf8db21f1/Windows32EditorInstaller/UnitySetup32-5.0.1p3.exe
http://beta.unity3d.com/download/5607584749/UnitySetup_update-4.6.4p4.exe
http://beta.unity3d.com/download/7bde3a37f2fb/Windows64EditorInstaller/UnitySetup64-5.0.1p2.exe
http://beta.unity3d.com/download/7bde3a37f2fb/Windows32EditorInstaller/UnitySetup32-5.0.1p2.exe
http://beta.unity3d.com/download/4455632833/UnitySetup_update-4.6.4p3.exe
http://beta.unity3d.com/download/643d93bfede0/Windows64EditorInstaller/UnitySetup64-5.0.1p1.exe
http://beta.unity3d.com/download/643d93bfede0/Windows32EditorInstaller/UnitySetup32-5.0.1p1.exe
http://beta.unity3d.com/download/6349247071/UnitySetup_update-4.6.4p2.exe
http://beta.unity3d.com/download/8357669777/UnitySetup_update-4.6.4p1.exe
http://beta.unity3d.com/download/8c9c1a5d2db2/Windows64EditorInstaller/UnitySetup64-5.0.0p3.exe
http://beta.unity3d.com/download/8c9c1a5d2db2/Windows32EditorInstaller/UnitySetup32-5.0.0p3.exe
http://beta.unity3d.com/download/2413849171/UnitySetup_update-4.6.3p4.exe
http://beta.unity3d.com/download/b8242d3df8b0/Windows64EditorInstaller/UnitySetup64-5.0.0p2.exe
http://beta.unity3d.com/download/b8242d3df8b0/Windows32EditorInstaller/UnitySetup32-5.0.0p2.exe
http://beta.unity3d.com/download/b38b89c951b3/Windows64EditorInstaller/UnitySetup64-5.0.0p1.exe
http://beta.unity3d.com/download/b38b89c951b3/Windows32EditorInstaller/UnitySetup32-5.0.0p1.exe
http://beta.unity3d.com/download/b38b89c951b3/Windows64EditorInstaller/UnitySetup64-5.0.0p1.exe
http://beta.unity3d.com/download/b38b89c951b3/Windows32EditorInstaller/UnitySetup32-5.0.0p1.exe
http://beta.unity3d.com/download/3609403178/UnitySetup_update-4.6.3p3.exe
http://beta.unity3d.com/download/0553181569/UnitySetup_update-4.6.3p2.exe
http://beta.unity3d.com/download/0692274275/UnitySetup_update-4.6.3p1.exe
http://beta.unity3d.com/download/8281864647/UnitySetup_update-4.6.2p2.exe
http://beta.unity3d.com/download/9714432943/UnitySetup-4.6.2p1.exe
http://beta.unity3d.com/download/2261733732/UnitySetup_update-4.6.1p5.exe
http://beta.unity3d.com/download/3000681495/UnitySetup_update-4.6.1p4.exe
http://beta.unity3d.com/download/5893054550/UnitySetup_update-4.6.1p3.exe
http://beta.unity3d.com/download/4701404319/UnitySetup_update-4.6.1p2.exe
http://beta.unity3d.com/download/8604807652/UnitySetup_update-4.6.1p1.exe
http://beta.unity3d.com/download/9044617502/UnitySetup_update-4.6.0p1.exe
http://beta.unity3d.com/download/3531360080/UnitySetup-4.5.5p5.exe
http://beta.unity3d.com/download/7856424537/UnitySetup_update-4.5.5p4.exe
http://beta.unity3d.com/download/6568425883/UnitySetup_update-4.5.5p3.exe
http://beta.unity3d.com/download/6523029087/UnitySetup_update-4.5.5p2.exe
http://beta.unity3d.com/download/4234258080/UnitySetup_update-4.5.5p1.exe
http://beta.unity3d.com/download/0293568922/UnitySetup_update-4.5.4p3.exe
http://beta.unity3d.com/download/6685476520/UnitySetup_update-4.5.4p2.exe
http://beta.unity3d.com/download/3088431051/UnitySetup_update-4.5.4p1.exe
http://beta.unity3d.com/download/2305005142/UnitySetup-4.3.7p4.exe
http://beta.unity3d.com/download/9680176560/UnitySetup_update-4.5.3p4.exe
http://beta.unity3d.com/download/6541552447/UnitySetup_update-4.5.3p3.exe
http://beta.unity3d.com/download/0393862629/UnitySetup_update-4.5.3p2.exe
http://beta.unity3d.com/download/0360241441/UnitySetup_update-4.5.3p1.exe
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?