cs2tracker 2.1.4__py3-none-any.whl → 2.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cs2tracker might be problematic. Click here for more details.
- cs2tracker/_version.py +2 -2
- cs2tracker/application.py +148 -50
- cs2tracker/constants.py +388 -108
- cs2tracker/data/config.ini +150 -65
- cs2tracker/data/output.csv +0 -0
- cs2tracker/main.py +13 -22
- cs2tracker/padded_console.py +22 -0
- cs2tracker/scraper.py +51 -32
- {cs2tracker-2.1.4.dist-info → cs2tracker-2.1.6.dist-info}/METADATA +17 -11
- cs2tracker-2.1.6.dist-info/RECORD +16 -0
- cs2tracker-2.1.4.dist-info/RECORD +0 -14
- {cs2tracker-2.1.4.dist-info → cs2tracker-2.1.6.dist-info}/WHEEL +0 -0
- {cs2tracker-2.1.4.dist-info → cs2tracker-2.1.6.dist-info}/entry_points.txt +0 -0
- {cs2tracker-2.1.4.dist-info → cs2tracker-2.1.6.dist-info}/licenses/LICENSE.md +0 -0
- {cs2tracker-2.1.4.dist-info → cs2tracker-2.1.6.dist-info}/top_level.txt +0 -0
cs2tracker/constants.py
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
|
+
import enum
|
|
1
2
|
import os
|
|
2
3
|
import sys
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from shutil import copy
|
|
3
6
|
|
|
4
|
-
|
|
7
|
+
try:
|
|
8
|
+
from cs2tracker._version import version # pylint: disable=E0611
|
|
9
|
+
except ImportError:
|
|
10
|
+
version = "0.0.0"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class OSType(enum.Enum):
|
|
14
|
+
WINDOWS = "Windows"
|
|
15
|
+
LINUX = "Linux"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
OS = OSType.WINDOWS if sys.platform.startswith("win") else OSType.LINUX
|
|
19
|
+
TEXT_EDITOR = "notepad" if OS == OSType.WINDOWS else "nano"
|
|
5
20
|
PYTHON_EXECUTABLE = sys.executable
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
MODULE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
7
24
|
PROJECT_DIR = os.path.dirname(MODULE_DIR)
|
|
8
25
|
OUTPUT_FILE = os.path.join(MODULE_DIR, "data", "output.csv")
|
|
@@ -10,7 +27,347 @@ CONFIG_FILE = os.path.join(MODULE_DIR, "data", "config.ini")
|
|
|
10
27
|
BATCH_FILE = os.path.join(MODULE_DIR, "data", "cs2tracker_scraper.bat")
|
|
11
28
|
|
|
12
29
|
|
|
13
|
-
|
|
30
|
+
RUNNING_IN_EXE = getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS")
|
|
31
|
+
|
|
32
|
+
if RUNNING_IN_EXE:
|
|
33
|
+
MEIPASS_DIR = sys._MEIPASS # type: ignore pylint: disable=protected-access
|
|
34
|
+
MODULE_DIR = MEIPASS_DIR
|
|
35
|
+
PROJECT_DIR = MEIPASS_DIR
|
|
36
|
+
CONFIG_FILE_SOURCE = os.path.join(MODULE_DIR, "data", "config.ini")
|
|
37
|
+
OUTPUT_FILE_SOURCE = os.path.join(MODULE_DIR, "data", "output.csv")
|
|
38
|
+
|
|
39
|
+
APP_DATA_DIR = os.path.join(os.path.expanduser("~"), "AppData", "Local")
|
|
40
|
+
DATA_DIR = os.path.join(APP_DATA_DIR, "cs2tracker", "data")
|
|
41
|
+
os.makedirs(DATA_DIR, exist_ok=True)
|
|
42
|
+
|
|
43
|
+
CONFIG_FILE = os.path.join(DATA_DIR, "config.ini")
|
|
44
|
+
OUTPUT_FILE = os.path.join(DATA_DIR, "output.csv")
|
|
45
|
+
BATCH_FILE = os.path.join(DATA_DIR, "cs2tracker_scraper.bat")
|
|
46
|
+
if not os.path.exists(CONFIG_FILE):
|
|
47
|
+
copy(CONFIG_FILE_SOURCE, CONFIG_FILE)
|
|
48
|
+
if not os.path.exists(OUTPUT_FILE):
|
|
49
|
+
copy(OUTPUT_FILE_SOURCE, OUTPUT_FILE)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
BANNER = """
|
|
53
|
+
__ _____ _____ ______ ____ ____ __ __ _ ___ ____
|
|
54
|
+
/ ] / ___/| T| T| \\ / T / ]| l/ ] / _]| \\
|
|
55
|
+
/ / ( \\_ l__/ || || D )Y o | / / | ' / / [_ | D )
|
|
56
|
+
/ / \\__ T| __jl_j l_j| / | | / / | \\ Y _]| /
|
|
57
|
+
/ \\_ / \\ || / | | | | \\ | _ |/ \\_ | Y| [_ | \\
|
|
58
|
+
\\ | \\ || | | | | . Y| | |\\ || . || T| . Y
|
|
59
|
+
\\____j \\___jl_____j l__j l__j\\_jl__j__j \\____jl__j\\_jl_____jl__j\\_j
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
AUTHOR_STRING = (
|
|
63
|
+
f"Version: v{version} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @ashiven\n"
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
CASE_PAGES = [
|
|
68
|
+
"https://steamcommunity.com/market/search?q=revolution+case",
|
|
69
|
+
"https://steamcommunity.com/market/search?q=recoil+case",
|
|
70
|
+
"https://steamcommunity.com/market/search?q=dreams+and+nightmares+case",
|
|
71
|
+
"https://steamcommunity.com/market/search?q=operation+riptide+case",
|
|
72
|
+
"https://steamcommunity.com/market/search?q=snakebite+case",
|
|
73
|
+
"https://steamcommunity.com/market/search?q=broken+fang+case",
|
|
74
|
+
"https://steamcommunity.com/market/search?q=fracture+case",
|
|
75
|
+
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
76
|
+
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
77
|
+
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
78
|
+
"https://steamcommunity.com/market/search?q=clutch+case",
|
|
79
|
+
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
80
|
+
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
81
|
+
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
82
|
+
"https://steamcommunity.com/market/search?q=cs20+case",
|
|
83
|
+
"https://steamcommunity.com/market/search?q=danger+zone+case",
|
|
84
|
+
"https://steamcommunity.com/market/search?q=esports+case",
|
|
85
|
+
"https://steamcommunity.com/market/search?q=esports+case",
|
|
86
|
+
"https://steamcommunity.com/market/search?q=esports+case",
|
|
87
|
+
"https://steamcommunity.com/market/search?q=falchion+case",
|
|
88
|
+
"https://steamcommunity.com/market/search?q=gamma+case",
|
|
89
|
+
"https://steamcommunity.com/market/search?q=gamma+case",
|
|
90
|
+
"https://steamcommunity.com/market/search?q=glove+case",
|
|
91
|
+
"https://steamcommunity.com/market/search?q=horizon+case",
|
|
92
|
+
"https://steamcommunity.com/market/search?q=huntsman+weapon+case",
|
|
93
|
+
"https://steamcommunity.com/market/search?q=operation+bravo+case",
|
|
94
|
+
"https://steamcommunity.com/market/search?q=operation+breakout+case",
|
|
95
|
+
"https://steamcommunity.com/market/search?q=operation+hydra+case",
|
|
96
|
+
"https://steamcommunity.com/market/search?q=operation+phoenix+case",
|
|
97
|
+
"https://steamcommunity.com/market/search?q=operation+vanguard+case",
|
|
98
|
+
"https://steamcommunity.com/market/search?q=operation+wildfire+case",
|
|
99
|
+
"https://steamcommunity.com/market/search?q=prisma+case",
|
|
100
|
+
"https://steamcommunity.com/market/search?q=prisma+case",
|
|
101
|
+
"https://steamcommunity.com/market/search?q=revolver+case",
|
|
102
|
+
"https://steamcommunity.com/market/search?q=shadow+case",
|
|
103
|
+
"https://steamcommunity.com/market/search?q=shattered+web+case",
|
|
104
|
+
"https://steamcommunity.com/market/search?q=spectrum+case",
|
|
105
|
+
"https://steamcommunity.com/market/search?q=spectrum+case",
|
|
106
|
+
"https://steamcommunity.com/market/search?q=winter+offensive+case",
|
|
107
|
+
"https://steamcommunity.com/market/search?q=kilowatt+case",
|
|
108
|
+
"https://steamcommunity.com/market/search?q=gallery+case",
|
|
109
|
+
"https://steamcommunity.com/market/search?q=fever+case",
|
|
110
|
+
]
|
|
111
|
+
|
|
112
|
+
CASE_HREFS = [
|
|
113
|
+
"https://steamcommunity.com/market/listings/730/Revolution%20Case",
|
|
114
|
+
"https://steamcommunity.com/market/listings/730/Recoil%20Case",
|
|
115
|
+
"https://steamcommunity.com/market/listings/730/Dreams%20%26%20Nightmares%20Case",
|
|
116
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Riptide%20Case",
|
|
117
|
+
"https://steamcommunity.com/market/listings/730/Snakebite%20Case",
|
|
118
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Broken%20Fang%20Case",
|
|
119
|
+
"https://steamcommunity.com/market/listings/730/Fracture%20Case",
|
|
120
|
+
"https://steamcommunity.com/market/listings/730/Chroma%20Case",
|
|
121
|
+
"https://steamcommunity.com/market/listings/730/Chroma%202%20Case",
|
|
122
|
+
"https://steamcommunity.com/market/listings/730/Chroma%203%20Case",
|
|
123
|
+
"https://steamcommunity.com/market/listings/730/Clutch%20Case",
|
|
124
|
+
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case",
|
|
125
|
+
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case%202",
|
|
126
|
+
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case%203",
|
|
127
|
+
"https://steamcommunity.com/market/listings/730/CS20%20Case",
|
|
128
|
+
"https://steamcommunity.com/market/listings/730/Danger%20Zone%20Case",
|
|
129
|
+
"https://steamcommunity.com/market/listings/730/eSports%202013%20Case",
|
|
130
|
+
"https://steamcommunity.com/market/listings/730/eSports%202013%20Winter%20Case",
|
|
131
|
+
"https://steamcommunity.com/market/listings/730/eSports%202014%20Summer%20Case",
|
|
132
|
+
"https://steamcommunity.com/market/listings/730/Falchion%20Case",
|
|
133
|
+
"https://steamcommunity.com/market/listings/730/Gamma%20Case",
|
|
134
|
+
"https://steamcommunity.com/market/listings/730/Gamma%202%20Case",
|
|
135
|
+
"https://steamcommunity.com/market/listings/730/Glove%20Case",
|
|
136
|
+
"https://steamcommunity.com/market/listings/730/Horizon%20Case",
|
|
137
|
+
"https://steamcommunity.com/market/listings/730/Huntsman%20Weapon%20Case",
|
|
138
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Bravo%20Case",
|
|
139
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Breakout%20Weapon%20Case",
|
|
140
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Hydra%20Case",
|
|
141
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Phoenix%20Weapon%20Case",
|
|
142
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Vanguard%20Weapon%20Case",
|
|
143
|
+
"https://steamcommunity.com/market/listings/730/Operation%20Wildfire%20Case",
|
|
144
|
+
"https://steamcommunity.com/market/listings/730/Prisma%20Case",
|
|
145
|
+
"https://steamcommunity.com/market/listings/730/Prisma%202%20Case",
|
|
146
|
+
"https://steamcommunity.com/market/listings/730/Revolver%20Case",
|
|
147
|
+
"https://steamcommunity.com/market/listings/730/Shadow%20Case",
|
|
148
|
+
"https://steamcommunity.com/market/listings/730/Shattered%20Web%20Case",
|
|
149
|
+
"https://steamcommunity.com/market/listings/730/Spectrum%20Case",
|
|
150
|
+
"https://steamcommunity.com/market/listings/730/Spectrum%202%20Case",
|
|
151
|
+
"https://steamcommunity.com/market/listings/730/Winter%20Offensive%20Weapon%20Case",
|
|
152
|
+
"https://steamcommunity.com/market/listings/730/Kilowatt%20Case",
|
|
153
|
+
"https://steamcommunity.com/market/listings/730/Gallery%20Case",
|
|
154
|
+
"https://steamcommunity.com/market/listings/730/Fever%20Case",
|
|
155
|
+
]
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
KATOWICE_2014_CAPSULES = {
|
|
159
|
+
"page": "https://steamcommunity.com/market/search?q=katowice+2014+legends+challengers",
|
|
160
|
+
"items": [
|
|
161
|
+
"https://steamcommunity.com/market/listings/730/EMS%20Katowice%202014%20Legends",
|
|
162
|
+
"https://steamcommunity.com/market/listings/730/EMS%20Katowice%202014%20Challengers",
|
|
163
|
+
],
|
|
164
|
+
"names": ["Katowice Legends", "Katowice Challengers"],
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
COLOGNE_2014_CAPSULES = {
|
|
168
|
+
"page": "https://steamcommunity.com/market/search?q=cologne+2014+legends+challengers",
|
|
169
|
+
"items": [
|
|
170
|
+
"https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202014%20Legends",
|
|
171
|
+
"https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202014%20Challengers",
|
|
172
|
+
],
|
|
173
|
+
"names": ["Cologne Legends", "Cologne Challengers"],
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
DREAMHACK_2014_CAPSULES = {
|
|
177
|
+
"page": "https://steamcommunity.com/market/search?q=dreamhack+2014+legends",
|
|
178
|
+
"items": [
|
|
179
|
+
"https://steamcommunity.com/market/listings/730/DreamHack%202014%20Legends%20%28Holo-Foil%29"
|
|
180
|
+
],
|
|
181
|
+
"names": ["DreamHack Legends"],
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
KATOWICE_2015_CAPSULES = {
|
|
185
|
+
"page": "https://steamcommunity.com/market/search?q=katowice+2015+legends+challengers",
|
|
186
|
+
"items": [
|
|
187
|
+
"https://steamcommunity.com/market/listings/730/ESL%20One%20Katowice%202015%20Legends%20%28Holo-Foil%29",
|
|
188
|
+
"https://steamcommunity.com/market/listings/730/ESL%20One%20Katowice%202015%20Challengers%20%28Holo-Foil%29",
|
|
189
|
+
],
|
|
190
|
+
"names": ["Katowice Legends", "Katowice Challengers"],
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
COLOGNE_2015_CAPSULES = {
|
|
194
|
+
"page": "https://steamcommunity.com/market/search?q=cologne+2015+legends+challengers",
|
|
195
|
+
"items": [
|
|
196
|
+
"https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202015%20Legends%20%28Foil%29",
|
|
197
|
+
"https://steamcommunity.com/market/listings/730/ESL%20One%20Cologne%202015%20Challengers%20%28Foil%29",
|
|
198
|
+
],
|
|
199
|
+
"names": ["Cologne Legends", "Cologne Challengers"],
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
CLUJ_NAPOCA_2015_CAPSULES = {
|
|
203
|
+
"page": "https://steamcommunity.com/market/search?q=cluj+napoca+2015+legends+challengers",
|
|
204
|
+
"items": [
|
|
205
|
+
"https://steamcommunity.com/market/listings/730/DreamHack%20Cluj-Napoca%202015%20Legends%20%28Foil%29",
|
|
206
|
+
"https://steamcommunity.com/market/listings/730/DreamHack%20Cluj-Napoca%202015%20Challengers%20%28Foil%29",
|
|
207
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Legends%20%28Foil%29%20%7C%20Cluj-Napoca%202015",
|
|
208
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20Cluj-Napoca%202015",
|
|
209
|
+
],
|
|
210
|
+
"names": [
|
|
211
|
+
"Cluj Napoca Legends",
|
|
212
|
+
"Cluj Napoca Challengers",
|
|
213
|
+
"Cluj Napoca Legends Autographs",
|
|
214
|
+
"Cluj Napoca Challengers Autographs",
|
|
215
|
+
],
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
COLUMBUS_2016_CAPSULES = {
|
|
219
|
+
"page": "https://steamcommunity.com/market/search?q=columbus+2016+legends+challengers",
|
|
220
|
+
"items": [
|
|
221
|
+
"https://steamcommunity.com/market/listings/730/MLG%20Columbus%202016%20Legends%20%28Holo-Foil%29",
|
|
222
|
+
"https://steamcommunity.com/market/listings/730/MLG%20Columbus%202016%20Challengers%20%28Holo-Foil%29",
|
|
223
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Legends%20%28Foil%29%20%7C%20MLG%20Columbus%202016",
|
|
224
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20MLG%20Columbus%202016",
|
|
225
|
+
],
|
|
226
|
+
"names": [
|
|
227
|
+
"Columbus Legends",
|
|
228
|
+
"Columbus Challengers",
|
|
229
|
+
"Columbus Legends Autographs",
|
|
230
|
+
"Columbus Challengers Autographs",
|
|
231
|
+
],
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
COLOGNE_2016_CAPSULES = {
|
|
235
|
+
"page": "https://steamcommunity.com/market/search?q=cologne+2016+legends+challengers",
|
|
236
|
+
"items": [
|
|
237
|
+
"https://steamcommunity.com/market/listings/730/Cologne%202016%20Legends%20%28Holo-Foil%29",
|
|
238
|
+
"https://steamcommunity.com/market/listings/730/Cologne%202016%20Challengers%20%28Holo-Foil%29",
|
|
239
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Legends%20%28Foil%29%20%7C%20Cologne%202016",
|
|
240
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20Cologne%202016",
|
|
241
|
+
],
|
|
242
|
+
"names": [
|
|
243
|
+
"Cologne Legends",
|
|
244
|
+
"Cologne Challengers",
|
|
245
|
+
"Cologne Legends Autographs",
|
|
246
|
+
"Cologne Challengers Autographs",
|
|
247
|
+
],
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
ATLANTA_2017_CAPSULES = {
|
|
251
|
+
"page": "https://steamcommunity.com/market/search?q=atlanta+2017+legends+challengers",
|
|
252
|
+
"items": [
|
|
253
|
+
"https://steamcommunity.com/market/listings/730/Atlanta%202017%20Legends%20%28Holo-Foil%29",
|
|
254
|
+
"https://steamcommunity.com/market/listings/730/Atlanta%202017%20Challengers%20%28Holo-Foil%29",
|
|
255
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Legends%20%28Foil%29%20%7C%20Atlanta%202017",
|
|
256
|
+
"https://steamcommunity.com/market/listings/730/Autograph%20Capsule%20%7C%20Challengers%20%28Foil%29%20%7C%20Atlanta%202017",
|
|
257
|
+
],
|
|
258
|
+
"names": [
|
|
259
|
+
"Atlanta Legends",
|
|
260
|
+
"Atlanta Challengers",
|
|
261
|
+
"Atlanta Legends Autographs",
|
|
262
|
+
"Atlanta Challengers Autographs",
|
|
263
|
+
],
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
KRAKOW_2017_CAPSULES = {
|
|
267
|
+
"page": "https://steamcommunity.com/market/search?q=krakow+2017+legends+challengers",
|
|
268
|
+
"items": [
|
|
269
|
+
"https://steamcommunity.com/market/listings/730/Krakow%202017%20Legends%20%28Holo-Foil%29",
|
|
270
|
+
"https://steamcommunity.com/market/listings/730/Krakow%202017%20Challengers%20%28Holo-Foil%29",
|
|
271
|
+
"https://steamcommunity.com/market/listings/730/Krakow%202017%20Legends%20Autograph%20Capsule",
|
|
272
|
+
"https://steamcommunity.com/market/listings/730/Krakow%202017%20Challengers%20Autograph%20Capsule",
|
|
273
|
+
],
|
|
274
|
+
"names": [
|
|
275
|
+
"Krakow Legends",
|
|
276
|
+
"Krakow Challengers",
|
|
277
|
+
"Krakow Legends Autographs",
|
|
278
|
+
"Krakow Challengers Autographs",
|
|
279
|
+
],
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
BOSTON_2018_CAPSULES = {
|
|
283
|
+
"page": "https://steamcommunity.com/market/search?q=boston+2018+legends+challengers",
|
|
284
|
+
"items": [
|
|
285
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Legends%20%28Holo-Foil%29",
|
|
286
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Minor%20Challengers%20%28Holo-Foil%29",
|
|
287
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Returning%20Challengers%20%28Holo-Foil%29",
|
|
288
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Attending%20Legends%20%28Holo-Foil%29",
|
|
289
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Minor%20Challengers%20with%20Flash%20Gaming%20%28Holo-Foil%29",
|
|
290
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Legends%20Autograph%20Capsule",
|
|
291
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Minor%20Challengers%20Autograph%20Capsule",
|
|
292
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Returning%20Challengers%20Autograph%20Capsule",
|
|
293
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Attending%20Legends%20Autograph%20Capsule",
|
|
294
|
+
"https://steamcommunity.com/market/listings/730/Boston%202018%20Minor%20Challengers%20with%20Flash%20Gaming%20Autograph%20Capsule",
|
|
295
|
+
],
|
|
296
|
+
"names": [
|
|
297
|
+
"Boston Legends",
|
|
298
|
+
"Boston Minor Challengers",
|
|
299
|
+
"Boston Returning Challengers",
|
|
300
|
+
"Boston Attending Legends",
|
|
301
|
+
"Boston Minor Challengers with Flash Gaming",
|
|
302
|
+
"Boston Legends Autographs",
|
|
303
|
+
"Boston Minor Challengers Autographs",
|
|
304
|
+
"Boston Returning Challengers Autographs",
|
|
305
|
+
"Boston Attending Legends Autographs",
|
|
306
|
+
"Boston Minor Challengers with Flash Gaming Autographs",
|
|
307
|
+
],
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
LONDON_2018_CAPSULES = {
|
|
311
|
+
"page": "https://steamcommunity.com/market/search?q=london+2018+legends+challengers",
|
|
312
|
+
"items": [
|
|
313
|
+
"https://steamcommunity.com/market/listings/730/London%202018%20Legends%20%28Holo-Foil%29",
|
|
314
|
+
"https://steamcommunity.com/market/listings/730/London%202018%20Minor%20Challengers%20%28Holo-Foil%29",
|
|
315
|
+
"https://steamcommunity.com/market/listings/730/London%202018%20Returning%20Challengers%20%28Holo-Foil%29",
|
|
316
|
+
"https://steamcommunity.com/market/listings/730/London%202018%20Legends%20Autograph%20Capsule",
|
|
317
|
+
"https://steamcommunity.com/market/listings/730/London%202018%20Minor%20Challengers%20Autograph%20Capsule",
|
|
318
|
+
"https://steamcommunity.com/market/listings/730/London%202018%20Returning%20Challengers%20Autograph%20Capsule",
|
|
319
|
+
],
|
|
320
|
+
"names": [
|
|
321
|
+
"London Legends",
|
|
322
|
+
"London Minor Challengers",
|
|
323
|
+
"London Returning Challengers",
|
|
324
|
+
"London Legends Autographs",
|
|
325
|
+
"London Minor Challengers Autographs",
|
|
326
|
+
"London Returning Challengers Autographs",
|
|
327
|
+
],
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
KATOWICE_2019_CAPSULES = {
|
|
331
|
+
"page": "https://steamcommunity.com/market/search?q=katowice+2019+legends+challengers",
|
|
332
|
+
"items": [
|
|
333
|
+
"https://steamcommunity.com/market/listings/730/Katowice%202019%20Legends%20%28Holo-Foil%29",
|
|
334
|
+
"https://steamcommunity.com/market/listings/730/Katowice%202019%20Minor%20Challengers%20%28Holo-Foil%29",
|
|
335
|
+
"https://steamcommunity.com/market/listings/730/Katowice%202019%20Returning%20Challengers%20%28Holo-Foil%29",
|
|
336
|
+
"https://steamcommunity.com/market/listings/730/Katowice%202019%20Legends%20Autograph%20Capsule",
|
|
337
|
+
"https://steamcommunity.com/market/listings/730/Katowice%202019%20Minor%20Challengers%20Autograph%20Capsule",
|
|
338
|
+
"https://steamcommunity.com/market/listings/730/Katowice%202019%20Returning%20Challengers%20Autograph%20Capsule",
|
|
339
|
+
],
|
|
340
|
+
"names": [
|
|
341
|
+
"Katowice Legends",
|
|
342
|
+
"Katowice Minor Challengers",
|
|
343
|
+
"Katowice Returning Challengers",
|
|
344
|
+
"Katowice Legends Autographs",
|
|
345
|
+
"Katowice Minor Challengers Autographs",
|
|
346
|
+
"Katowice Returning Challengers Autographs",
|
|
347
|
+
],
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
BERLIN_2019_CAPSULES = {
|
|
351
|
+
"page": "https://steamcommunity.com/market/search?q=berlin+2019+legends+challengers",
|
|
352
|
+
"items": [
|
|
353
|
+
"https://steamcommunity.com/market/listings/730/Berlin%202019%20Legends%20%28Holo-Foil%29",
|
|
354
|
+
"https://steamcommunity.com/market/listings/730/Berlin%202019%20Minor%20Challengers%20%28Holo-Foil%29",
|
|
355
|
+
"https://steamcommunity.com/market/listings/730/Berlin%202019%20Returning%20Challengers%20%28Holo-Foil%29",
|
|
356
|
+
"https://steamcommunity.com/market/listings/730/Berlin%202019%20Legends%20Autograph%20Capsule",
|
|
357
|
+
"https://steamcommunity.com/market/listings/730/Berlin%202019%20Minor%20Challengers%20Autograph%20Capsule",
|
|
358
|
+
"https://steamcommunity.com/market/listings/730/Berlin%202019%20Returning%20Challengers%20Autograph%20Capsule",
|
|
359
|
+
],
|
|
360
|
+
"names": [
|
|
361
|
+
"Berlin Legends",
|
|
362
|
+
"Berlin Minor Challengers",
|
|
363
|
+
"Berlin Returning Challengers",
|
|
364
|
+
"Berlin Legends Autographs",
|
|
365
|
+
"Berlin Minor Challengers Autographs",
|
|
366
|
+
"Berlin Returning Challengers Autographs",
|
|
367
|
+
],
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
RMR_2020_CAPSULES = {
|
|
14
371
|
"page": "https://steamcommunity.com/market/search?q=2020+rmr",
|
|
15
372
|
"items": [
|
|
16
373
|
"https://steamcommunity.com/market/listings/730/2020%20RMR%20Legends",
|
|
@@ -20,7 +377,7 @@ RMR_CAPSULES = {
|
|
|
20
377
|
"names": ["RMR Legends", "RMR Challengers", "RMR Contenders"],
|
|
21
378
|
}
|
|
22
379
|
|
|
23
|
-
|
|
380
|
+
STOCKHOLM_2021_CAPSULES = {
|
|
24
381
|
"page": "https://steamcommunity.com/market/search?q=stockholm+capsule",
|
|
25
382
|
"items": [
|
|
26
383
|
"https://steamcommunity.com/market/listings/730/Stockholm%202021%20Legends%20Sticker%20Capsule",
|
|
@@ -38,7 +395,7 @@ STOCKHOLM_CAPSULES = {
|
|
|
38
395
|
],
|
|
39
396
|
}
|
|
40
397
|
|
|
41
|
-
|
|
398
|
+
ANTWERP_2022_CAPSULES = {
|
|
42
399
|
"page": "https://steamcommunity.com/market/search?q=antwerp+capsule",
|
|
43
400
|
"items": [
|
|
44
401
|
"https://steamcommunity.com/market/listings/730/Antwerp%202022%20Legends%20Sticker%20Capsule",
|
|
@@ -60,7 +417,7 @@ ANTWERP_CAPSULES = {
|
|
|
60
417
|
],
|
|
61
418
|
}
|
|
62
419
|
|
|
63
|
-
|
|
420
|
+
RIO_2022_CAPSULES = {
|
|
64
421
|
"page": "https://steamcommunity.com/market/search?q=rio+capsule",
|
|
65
422
|
"items": [
|
|
66
423
|
"https://steamcommunity.com/market/listings/730/Rio%202022%20Legends%20Sticker%20Capsule",
|
|
@@ -82,7 +439,7 @@ RIO_CAPSULES = {
|
|
|
82
439
|
],
|
|
83
440
|
}
|
|
84
441
|
|
|
85
|
-
|
|
442
|
+
PARIS_2023_CAPSULES = {
|
|
86
443
|
"page": "https://steamcommunity.com/market/search?q=paris+capsule",
|
|
87
444
|
"items": [
|
|
88
445
|
"https://steamcommunity.com/market/listings/730/Paris%202023%20Legends%20Sticker%20Capsule",
|
|
@@ -104,7 +461,7 @@ PARIS_CAPSULES = {
|
|
|
104
461
|
],
|
|
105
462
|
}
|
|
106
463
|
|
|
107
|
-
|
|
464
|
+
COPENHAGEN_2024_CAPSULES = {
|
|
108
465
|
"page": "https://steamcommunity.com/market/search?q=copenhagen+capsule",
|
|
109
466
|
"items": [
|
|
110
467
|
"https://steamcommunity.com/market/listings/730/Copenhagen%202024%20Legends%20Sticker%20Capsule",
|
|
@@ -126,7 +483,7 @@ COPENHAGEN_CAPSULES = {
|
|
|
126
483
|
],
|
|
127
484
|
}
|
|
128
485
|
|
|
129
|
-
|
|
486
|
+
SHANGHAI_2024_CAPSULES = {
|
|
130
487
|
"page": "https://steamcommunity.com/market/search?q=shanghai+capsule",
|
|
131
488
|
"items": [
|
|
132
489
|
"https://steamcommunity.com/market/listings/730/Shanghai%202024%20Legends%20Sticker%20Capsule",
|
|
@@ -148,7 +505,7 @@ SHANGHAI_CAPSULES = {
|
|
|
148
505
|
],
|
|
149
506
|
}
|
|
150
507
|
|
|
151
|
-
|
|
508
|
+
AUSTIN_2025_CAPSULES = {
|
|
152
509
|
"page": "https://steamcommunity.com/market/search?q=austin+capsule",
|
|
153
510
|
"items": [
|
|
154
511
|
"https://steamcommunity.com/market/listings/730/Austin%202025%20Legends%20Sticker%20Capsule",
|
|
@@ -171,103 +528,26 @@ AUSTIN_CAPSULES = {
|
|
|
171
528
|
}
|
|
172
529
|
|
|
173
530
|
CAPSULE_INFO = {
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
531
|
+
"Katowice 2014 Sticker Capsule": KATOWICE_2014_CAPSULES,
|
|
532
|
+
"Cologne 2014 Sticker Capsule": COLOGNE_2014_CAPSULES,
|
|
533
|
+
"DreamHack 2014 Sticker Capsule": DREAMHACK_2014_CAPSULES,
|
|
534
|
+
"Katowice 2015 Sticker Capsule": KATOWICE_2015_CAPSULES,
|
|
535
|
+
"Cologne 2015 Sticker Capsule": COLOGNE_2015_CAPSULES,
|
|
536
|
+
"Cluj-Napoca 2015 Sticker Capsule": CLUJ_NAPOCA_2015_CAPSULES,
|
|
537
|
+
"Columbus 2016 Sticker Capsule": COLUMBUS_2016_CAPSULES,
|
|
538
|
+
"Cologne 2016 Sticker Capsule": COLOGNE_2016_CAPSULES,
|
|
539
|
+
"Atlanta 2017 Sticker Capsule": ATLANTA_2017_CAPSULES,
|
|
540
|
+
"Krakow 2017 Sticker Capsule": KRAKOW_2017_CAPSULES,
|
|
541
|
+
"Boston 2018 Sticker Capsule": BOSTON_2018_CAPSULES,
|
|
542
|
+
"London 2018 Sticker Capsule": LONDON_2018_CAPSULES,
|
|
543
|
+
"Katowice 2019 Sticker Capsule": KATOWICE_2019_CAPSULES,
|
|
544
|
+
"Berlin 2019 Sticker Capsule": BERLIN_2019_CAPSULES,
|
|
545
|
+
"2020 RMR Sticker Capsule": RMR_2020_CAPSULES,
|
|
546
|
+
"Stockholm 2021 Sticker Capsule": STOCKHOLM_2021_CAPSULES,
|
|
547
|
+
"Antwerp 2022 Sticker Capsule": ANTWERP_2022_CAPSULES,
|
|
548
|
+
"Rio 2022 Sticker Capsule": RIO_2022_CAPSULES,
|
|
549
|
+
"Paris 2023 Sticker Capsule": PARIS_2023_CAPSULES,
|
|
550
|
+
"Copenhagen 2024 Sticker Capsule": COPENHAGEN_2024_CAPSULES,
|
|
551
|
+
"Shanghai 2024 Sticker Capsule": SHANGHAI_2024_CAPSULES,
|
|
552
|
+
"Austin 2025 Sticker Capsule": AUSTIN_2025_CAPSULES,
|
|
182
553
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
CASE_PAGES = [
|
|
186
|
-
"https://steamcommunity.com/market/search?q=revolution+case",
|
|
187
|
-
"https://steamcommunity.com/market/search?q=recoil+case",
|
|
188
|
-
"https://steamcommunity.com/market/search?q=dreams+and+nightmares+case",
|
|
189
|
-
"https://steamcommunity.com/market/search?q=operation+riptide+case",
|
|
190
|
-
"https://steamcommunity.com/market/search?q=snakebite+case",
|
|
191
|
-
"https://steamcommunity.com/market/search?q=broken+fang+case",
|
|
192
|
-
"https://steamcommunity.com/market/search?q=fracture+case",
|
|
193
|
-
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
194
|
-
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
195
|
-
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
196
|
-
"https://steamcommunity.com/market/search?q=clutch+case",
|
|
197
|
-
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
198
|
-
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
199
|
-
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
200
|
-
"https://steamcommunity.com/market/search?q=cs20+case",
|
|
201
|
-
"https://steamcommunity.com/market/search?q=danger+zone+case",
|
|
202
|
-
"https://steamcommunity.com/market/search?q=esports+case",
|
|
203
|
-
"https://steamcommunity.com/market/search?q=esports+case",
|
|
204
|
-
"https://steamcommunity.com/market/search?q=esports+case",
|
|
205
|
-
"https://steamcommunity.com/market/search?q=falchion+case",
|
|
206
|
-
"https://steamcommunity.com/market/search?q=gamma+case",
|
|
207
|
-
"https://steamcommunity.com/market/search?q=gamma+case",
|
|
208
|
-
"https://steamcommunity.com/market/search?q=glove+case",
|
|
209
|
-
"https://steamcommunity.com/market/search?q=horizon+case",
|
|
210
|
-
"https://steamcommunity.com/market/search?q=huntsman+weapon+case",
|
|
211
|
-
"https://steamcommunity.com/market/search?q=operation+bravo+case",
|
|
212
|
-
"https://steamcommunity.com/market/search?q=operation+breakout+case",
|
|
213
|
-
"https://steamcommunity.com/market/search?q=operation+hydra+case",
|
|
214
|
-
"https://steamcommunity.com/market/search?q=operation+phoenix+case",
|
|
215
|
-
"https://steamcommunity.com/market/search?q=operation+vanguard+case",
|
|
216
|
-
"https://steamcommunity.com/market/search?q=operation+wildfire+case",
|
|
217
|
-
"https://steamcommunity.com/market/search?q=prisma+case",
|
|
218
|
-
"https://steamcommunity.com/market/search?q=prisma+case",
|
|
219
|
-
"https://steamcommunity.com/market/search?q=revolver+case",
|
|
220
|
-
"https://steamcommunity.com/market/search?q=shadow+case",
|
|
221
|
-
"https://steamcommunity.com/market/search?q=shattered+web+case",
|
|
222
|
-
"https://steamcommunity.com/market/search?q=spectrum+case",
|
|
223
|
-
"https://steamcommunity.com/market/search?q=spectrum+case",
|
|
224
|
-
"https://steamcommunity.com/market/search?q=winter+offensive+case",
|
|
225
|
-
"https://steamcommunity.com/market/search?q=kilowatt+case",
|
|
226
|
-
"https://steamcommunity.com/market/search?q=gallery+case",
|
|
227
|
-
"https://steamcommunity.com/market/search?q=fever+case",
|
|
228
|
-
]
|
|
229
|
-
|
|
230
|
-
CASE_HREFS = [
|
|
231
|
-
"https://steamcommunity.com/market/listings/730/Revolution%20Case",
|
|
232
|
-
"https://steamcommunity.com/market/listings/730/Recoil%20Case",
|
|
233
|
-
"https://steamcommunity.com/market/listings/730/Dreams%20%26%20Nightmares%20Case",
|
|
234
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Riptide%20Case",
|
|
235
|
-
"https://steamcommunity.com/market/listings/730/Snakebite%20Case",
|
|
236
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Broken%20Fang%20Case",
|
|
237
|
-
"https://steamcommunity.com/market/listings/730/Fracture%20Case",
|
|
238
|
-
"https://steamcommunity.com/market/listings/730/Chroma%20Case",
|
|
239
|
-
"https://steamcommunity.com/market/listings/730/Chroma%202%20Case",
|
|
240
|
-
"https://steamcommunity.com/market/listings/730/Chroma%203%20Case",
|
|
241
|
-
"https://steamcommunity.com/market/listings/730/Clutch%20Case",
|
|
242
|
-
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case",
|
|
243
|
-
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case%202",
|
|
244
|
-
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case%203",
|
|
245
|
-
"https://steamcommunity.com/market/listings/730/CS20%20Case",
|
|
246
|
-
"https://steamcommunity.com/market/listings/730/Danger%20Zone%20Case",
|
|
247
|
-
"https://steamcommunity.com/market/listings/730/eSports%202013%20Case",
|
|
248
|
-
"https://steamcommunity.com/market/listings/730/eSports%202013%20Winter%20Case",
|
|
249
|
-
"https://steamcommunity.com/market/listings/730/eSports%202014%20Summer%20Case",
|
|
250
|
-
"https://steamcommunity.com/market/listings/730/Falchion%20Case",
|
|
251
|
-
"https://steamcommunity.com/market/listings/730/Gamma%20Case",
|
|
252
|
-
"https://steamcommunity.com/market/listings/730/Gamma%202%20Case",
|
|
253
|
-
"https://steamcommunity.com/market/listings/730/Glove%20Case",
|
|
254
|
-
"https://steamcommunity.com/market/listings/730/Horizon%20Case",
|
|
255
|
-
"https://steamcommunity.com/market/listings/730/Huntsman%20Weapon%20Case",
|
|
256
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Bravo%20Case",
|
|
257
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Breakout%20Weapon%20Case",
|
|
258
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Hydra%20Case",
|
|
259
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Phoenix%20Weapon%20Case",
|
|
260
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Vanguard%20Weapon%20Case",
|
|
261
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Wildfire%20Case",
|
|
262
|
-
"https://steamcommunity.com/market/listings/730/Prisma%20Case",
|
|
263
|
-
"https://steamcommunity.com/market/listings/730/Prisma%202%20Case",
|
|
264
|
-
"https://steamcommunity.com/market/listings/730/Revolver%20Case",
|
|
265
|
-
"https://steamcommunity.com/market/listings/730/Shadow%20Case",
|
|
266
|
-
"https://steamcommunity.com/market/listings/730/Shattered%20Web%20Case",
|
|
267
|
-
"https://steamcommunity.com/market/listings/730/Spectrum%20Case",
|
|
268
|
-
"https://steamcommunity.com/market/listings/730/Spectrum%202%20Case",
|
|
269
|
-
"https://steamcommunity.com/market/listings/730/Winter%20Offensive%20Weapon%20Case",
|
|
270
|
-
"https://steamcommunity.com/market/listings/730/Kilowatt%20Case",
|
|
271
|
-
"https://steamcommunity.com/market/listings/730/Gallery%20Case",
|
|
272
|
-
"https://steamcommunity.com/market/listings/730/Fever%20Case",
|
|
273
|
-
]
|