forked from wolfswolke/aniworld_scraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.bat
128 lines (123 loc) · 3.48 KB
/
run.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@echo off
chcp 850 >nul
cls
echo Select your Display Language:
echo Waehle deine Anzeige-Sprache:
echo.
echo 1. English
echo 2. Deutsch (German)
echo.
set /p LANG=Language:
if %LANG%==1 goto eng
if %LANG%==2 goto ger
:eng
set hello_header=Welcome to AniWorldScraper!
set choose_media=Please select the type of media you want to download:
set media_type_anime=1. Anime (Aniworld.to)
set media_type_series=2. Series (s.to)
set media_name=Enter the exact name of the media you wish to download:
set media_desc=Use the precise name as in the website URL (e.g., angels-of-death).
set media_lang=Choose the language of the media:
set media_choice1=1. German
set media_choice2=2. German Subtitles
set media_choice3=3. English
set download_mode=Select the download mode:
set download_mode_movies=1. Movies only
set download_mode_series=2. Series only
set download_mode_all=3. All content
set season_header=Enter the season you want to download:
set season_desc=Enter 0 to download all seasons.
set provider_header=Select the provider to download from:
set provider_desc=Default provider is VOE.
set start_scraper=Starting the scraper...
set finish_scraper=Download completed!
goto start
:ger
set hello_header=Willkommen bei AniWorldScraper!
set choose_media=Bitte waehle den Medientyp aus, den du herunterladen moechtest:
set media_type_anime=1. Anime (Aniworld.to)
set media_type_series=2. Serie (s.to)
set media_name=Gib den exakten Namen des Mediums ein, das du herunterladen moechtest:
set media_desc=Verwende den genauen Namen wie in der URL der Webseite (z. B. angels-of-death).
set media_lang=Waehle die Sprache des Mediums aus:
set media_choice1=1. Deutsch
set media_choice2=2. Mit deutschen Untertiteln
set media_choice3=3. Englisch
set download_mode=Bitte waehle den Download-Modus aus:
set download_mode_movies=1. Nur Filme
set download_mode_series=2. Nur Serien
set download_mode_all=3. Alle Inhalte
set season_header=Gib die Staffel ein, die du herunterladen moechtest:
set season_desc=Gib 0 ein, um alle Staffeln herunterzuladen.
set provider_header=Waehle den Anbieter aus, von dem du herunterladen moechtest:
set provider_desc=Standardanbieter ist VOE.
set start_scraper=Scraper wird gestartet...
set finish_scraper=Herunterladen abgeschlossen!
goto start
:start
echo %hello_header%
echo.
echo %choose_media%
echo.
echo %media_type_anime%
echo %media_type_series%
echo.
set /p TYPE=Type:
if %TYPE%==1 set TYPE=anime
if %TYPE%==2 set TYPE=serie
cls
echo.
echo %media_name%
echo %media_desc%
echo.
set /p NAME=Name:
cls
echo.
echo %media_lang%
echo.
echo %media_choice1%
echo %media_choice2%
echo %media_choice3%
echo.
set /p LANGUAGUE=Language:
if %LANGUAGUE%==1 set LANGUAGUE=Deutsch
if %LANGUAGUE%==2 set LANGUAGUE=Ger-Sub
if %LANGUAGUE%==3 set LANGUAGUE=English
cls
echo.
echo %download_mode%
echo.
echo %download_mode_movies%
echo %download_mode_series%
echo %download_mode_all%
echo.
set /p DLMODE=dlMode:
if %DLMODE%==1 set DLMODE=Movies
if %DLMODE%==2 set DLMODE=Series
if %DLMODE%==3 set DLMODE=All
cls
echo.
echo %season_header%
echo %season_desc%
echo.
set /p SEASON=Season:
cls
echo.
echo %provider_header%
echo %provider_desc%
echo.
echo 1. VOE
echo 2. Vidoza
echo 3. Streamtape
echo.
set /p PROVIDER=Provider:
if %PROVIDER%==1 set PROVIDER=VOE
if %PROVIDER%==2 set PROVIDER=Vidoza
if %PROVIDER%==3 set PROVIDER=Streamtape
cls
echo.
echo %start_scraper%
set SCRIPT_PATH=main.py
python %SCRIPT_PATH% --type %TYPE% --name %NAME% --lang %LANGUAGUE% --mode %DLMODE% --season_override %SEASON% --provider %PROVIDER%
echo %finish_scraper%
PAUSE