-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScraper.bat
95 lines (95 loc) · 2.4 KB
/
Scraper.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
:: Insecam Scraper made by n0stal6ic
:: Uses Deno Library https://github.com/denoland/deno/releases
@echo off
color 0a
title Insecam Scraper
:checkforinstalled
if exist "C:\CamScraper\deno.exe" (
goto found
) else (
goto notfound
)
:notfound
mode con cols=40 lines=5
cls
color 4
title Installation Wizard
echo Preparing first time Installation
echo Please Wait...
echo.
timeout 4 >nul
goto dlcam
:dlcam
mode con cols=90 lines=10
md C:\CamScraper
title Insecam Scraper
cls
echo Installing Libraries...
powershell -command "start-bitstransfer -source https://cdn.discordapp.com/attachments/778305613255147540/866747958039674921/deno.exe -destination C:\CamScraper\deno.exe"
powershell -command "start-bitstransfer -source https://cdn.discordapp.com/attachments/778305613255147540/866750450657001492/crawler.js -destination C:\CamScraper\crawler.js"
powershell -command "start-bitstransfer -source https://cdn.discordapp.com/attachments/778305613255147540/866750452144799744/fullcrawl.js -destination C:\CamScraper\fullcrawl.js"
timeout 2 >nul
taskkill /f /im explorer.exe
cls
timeout 1 >nul
start explorer.exe
cls
goto found
:found
mode con cols=33 lines=8
cd C:\CamScraper\
color A
echo =====- Insecam Cam Scraper -=====
echo GUI By: n0stal6ic#0001
echo.
echo [1] Scrape IP's only!
echo [2] Scrape IP's w/ Extensions
echo.
timeout 1 >nul
set /p command= "> "
cls
mode con cols=82 lines=10
echo Initializing...
if %command%==1 goto normalscrape
if %command%==2 goto fullscrape
timeout 1 >nul
cls
color 4
mode con cols=20 lines=3
echo Invalid Option!
timeout 3 >nul
goto found
:normalscrape
cls
mode con cols=52 lines=5
title Scraping...
echo Starting Camera Scrape...
timeout 4 >nul
echo Scraping Cameras! Please wait. (A long time)
deno.exe run --allow-net crawler.js > crawled.txt
type crawled.txt
timeout 2 >nul
cls
echo Saved to Desktop!
timeout 1 >nul
move C:\CamScraper\crawled.txt*.* %userprofile%\desktop
timeout 3 >nul
del C:\CamScraper\crawled.txt
exit
:fullscrape
cls
mode con cols=52 lines=5
title Scraping...
echo Starting Camera Scrape...
timeout 4 >nul
echo Scraping Cameras! Please wait. (A long time)
deno.exe run --allow-net fullcrawl.js > crawled.txt
type crawled.txt
timeout 2 >nul
cls
echo Saved to Desktop!
timeout 1 >nul
move C:\CamScraper\crawled.txt*.* %userprofile%\desktop
timeout 3 >nul
del C:\CamScraper\crawled.txt
exit