cs2tracker 2.1.5__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 +40 -32
- cs2tracker/constants.py +333 -108
- cs2tracker/data/config.ini +143 -58
- cs2tracker/main.py +3 -3
- cs2tracker/scraper.py +1 -1
- {cs2tracker-2.1.5.dist-info → cs2tracker-2.1.6.dist-info}/METADATA +6 -6
- cs2tracker-2.1.6.dist-info/RECORD +16 -0
- cs2tracker-2.1.5.dist-info/RECORD +0 -16
- {cs2tracker-2.1.5.dist-info → cs2tracker-2.1.6.dist-info}/WHEEL +0 -0
- {cs2tracker-2.1.5.dist-info → cs2tracker-2.1.6.dist-info}/entry_points.txt +0 -0
- {cs2tracker-2.1.5.dist-info → cs2tracker-2.1.6.dist-info}/licenses/LICENSE.md +0 -0
- {cs2tracker-2.1.5.dist-info → cs2tracker-2.1.6.dist-info}/top_level.txt +0 -0
cs2tracker/_version.py
CHANGED
cs2tracker/application.py
CHANGED
|
@@ -29,7 +29,7 @@ FONT_COLOR = "white"
|
|
|
29
29
|
|
|
30
30
|
SCRAPER_WINDOW_TITLE = "CS2Tracker"
|
|
31
31
|
SCRAPER_WINDOW_HEIGHT = 40
|
|
32
|
-
SCRAPER_WINDOW_WIDTH =
|
|
32
|
+
SCRAPER_WINDOW_WIDTH = 100
|
|
33
33
|
SCRAPER_WINDOW_BACKGROUND_COLOR = "Black"
|
|
34
34
|
|
|
35
35
|
|
|
@@ -100,40 +100,48 @@ class Application:
|
|
|
100
100
|
|
|
101
101
|
return window
|
|
102
102
|
|
|
103
|
+
def _construct_scraper_command_windows(self):
|
|
104
|
+
"""Construct the command to run the scraper in a new window for Windows."""
|
|
105
|
+
set_utf8_encoding = (
|
|
106
|
+
"[Console]::InputEncoding = [Console]::OutputEncoding = [System.Text.Encoding]::UTF8;"
|
|
107
|
+
)
|
|
108
|
+
get_size = "$size = $Host.UI.RawUI.WindowSize;"
|
|
109
|
+
set_size = "$Host.UI.RawUI.WindowSize = $size;"
|
|
110
|
+
set_window_title = f"$Host.UI.RawUI.WindowTitle = '{SCRAPER_WINDOW_TITLE}';"
|
|
111
|
+
set_window_width = (
|
|
112
|
+
f"$size.Width = [Math]::Min({SCRAPER_WINDOW_WIDTH}, $Host.UI.RawUI.BufferSize.Width);"
|
|
113
|
+
)
|
|
114
|
+
set_window_height = f"$size.Height = {SCRAPER_WINDOW_HEIGHT};"
|
|
115
|
+
set_background_color = (
|
|
116
|
+
f"$Host.UI.RawUI.BackgroundColor = '{SCRAPER_WINDOW_BACKGROUND_COLOR}';"
|
|
117
|
+
)
|
|
118
|
+
clear = "Clear-Host;"
|
|
119
|
+
|
|
120
|
+
if RUNNING_IN_EXE:
|
|
121
|
+
# The python executable is set as the executable itself in PyInstaller
|
|
122
|
+
scraper_cmd = f"{PYTHON_EXECUTABLE} --only-scrape | Out-Host -Paging"
|
|
123
|
+
else:
|
|
124
|
+
scraper_cmd = f"{PYTHON_EXECUTABLE} -m cs2tracker --only-scrape"
|
|
125
|
+
|
|
126
|
+
cmd = (
|
|
127
|
+
'start powershell -NoExit -Command "& {'
|
|
128
|
+
+ set_utf8_encoding
|
|
129
|
+
+ set_window_title
|
|
130
|
+
+ get_size
|
|
131
|
+
+ set_window_width
|
|
132
|
+
+ set_window_height
|
|
133
|
+
+ set_size
|
|
134
|
+
+ set_background_color
|
|
135
|
+
+ clear
|
|
136
|
+
+ scraper_cmd
|
|
137
|
+
+ '}"'
|
|
138
|
+
)
|
|
139
|
+
return cmd
|
|
140
|
+
|
|
103
141
|
def _construct_scraper_command(self):
|
|
104
142
|
"""Construct the command to run the scraper in a new window."""
|
|
105
143
|
if OS == OSType.WINDOWS:
|
|
106
|
-
|
|
107
|
-
get_size = "$size = $Host.UI.RawUI.WindowSize;"
|
|
108
|
-
set_size = "$Host.UI.RawUI.WindowSize = $size;"
|
|
109
|
-
set_window_title = f"$Host.UI.RawUI.WindowTitle = '{SCRAPER_WINDOW_TITLE}';"
|
|
110
|
-
set_window_width = f"$size.Width = {SCRAPER_WINDOW_WIDTH};"
|
|
111
|
-
set_window_height = f"$size.Height = {SCRAPER_WINDOW_HEIGHT};"
|
|
112
|
-
set_background_color = (
|
|
113
|
-
f"$Host.UI.RawUI.BackgroundColor = '{SCRAPER_WINDOW_BACKGROUND_COLOR}';"
|
|
114
|
-
)
|
|
115
|
-
clear = "Clear-Host;"
|
|
116
|
-
|
|
117
|
-
if RUNNING_IN_EXE:
|
|
118
|
-
# The python executable is set as the executable itself in PyInstaller
|
|
119
|
-
scraper_cmd = f"{PYTHON_EXECUTABLE} --only-scrape | Out-Host -Paging"
|
|
120
|
-
else:
|
|
121
|
-
scraper_cmd = f"{PYTHON_EXECUTABLE} -m cs2tracker --only-scrape"
|
|
122
|
-
|
|
123
|
-
cmd = (
|
|
124
|
-
'start powershell -NoExit -Command "& {'
|
|
125
|
-
+ set_utf8_encoding
|
|
126
|
-
+ set_window_title
|
|
127
|
-
+ get_size
|
|
128
|
-
+ set_window_width
|
|
129
|
-
+ set_window_height
|
|
130
|
-
+ set_size
|
|
131
|
-
+ set_background_color
|
|
132
|
-
+ clear
|
|
133
|
-
+ scraper_cmd
|
|
134
|
-
+ '}"'
|
|
135
|
-
)
|
|
136
|
-
return cmd
|
|
144
|
+
return self._construct_scraper_command_windows()
|
|
137
145
|
else:
|
|
138
146
|
# TODO: Implement for Linux
|
|
139
147
|
return ""
|
cs2tracker/constants.py
CHANGED
|
@@ -58,14 +58,316 @@ BANNER = """
|
|
|
58
58
|
\\ | \\ || | | | | . Y| | |\\ || . || T| . Y
|
|
59
59
|
\\____j \\___jl_____j l__j l__j\\_jl__j__j \\____jl__j\\_jl_____jl__j\\_j
|
|
60
60
|
|
|
61
|
-
|
|
62
61
|
"""
|
|
63
62
|
AUTHOR_STRING = (
|
|
64
63
|
f"Version: v{version} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @ashiven\n"
|
|
65
64
|
)
|
|
66
65
|
|
|
67
66
|
|
|
68
|
-
|
|
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 = {
|
|
69
371
|
"page": "https://steamcommunity.com/market/search?q=2020+rmr",
|
|
70
372
|
"items": [
|
|
71
373
|
"https://steamcommunity.com/market/listings/730/2020%20RMR%20Legends",
|
|
@@ -75,7 +377,7 @@ RMR_CAPSULES = {
|
|
|
75
377
|
"names": ["RMR Legends", "RMR Challengers", "RMR Contenders"],
|
|
76
378
|
}
|
|
77
379
|
|
|
78
|
-
|
|
380
|
+
STOCKHOLM_2021_CAPSULES = {
|
|
79
381
|
"page": "https://steamcommunity.com/market/search?q=stockholm+capsule",
|
|
80
382
|
"items": [
|
|
81
383
|
"https://steamcommunity.com/market/listings/730/Stockholm%202021%20Legends%20Sticker%20Capsule",
|
|
@@ -93,7 +395,7 @@ STOCKHOLM_CAPSULES = {
|
|
|
93
395
|
],
|
|
94
396
|
}
|
|
95
397
|
|
|
96
|
-
|
|
398
|
+
ANTWERP_2022_CAPSULES = {
|
|
97
399
|
"page": "https://steamcommunity.com/market/search?q=antwerp+capsule",
|
|
98
400
|
"items": [
|
|
99
401
|
"https://steamcommunity.com/market/listings/730/Antwerp%202022%20Legends%20Sticker%20Capsule",
|
|
@@ -115,7 +417,7 @@ ANTWERP_CAPSULES = {
|
|
|
115
417
|
],
|
|
116
418
|
}
|
|
117
419
|
|
|
118
|
-
|
|
420
|
+
RIO_2022_CAPSULES = {
|
|
119
421
|
"page": "https://steamcommunity.com/market/search?q=rio+capsule",
|
|
120
422
|
"items": [
|
|
121
423
|
"https://steamcommunity.com/market/listings/730/Rio%202022%20Legends%20Sticker%20Capsule",
|
|
@@ -137,7 +439,7 @@ RIO_CAPSULES = {
|
|
|
137
439
|
],
|
|
138
440
|
}
|
|
139
441
|
|
|
140
|
-
|
|
442
|
+
PARIS_2023_CAPSULES = {
|
|
141
443
|
"page": "https://steamcommunity.com/market/search?q=paris+capsule",
|
|
142
444
|
"items": [
|
|
143
445
|
"https://steamcommunity.com/market/listings/730/Paris%202023%20Legends%20Sticker%20Capsule",
|
|
@@ -159,7 +461,7 @@ PARIS_CAPSULES = {
|
|
|
159
461
|
],
|
|
160
462
|
}
|
|
161
463
|
|
|
162
|
-
|
|
464
|
+
COPENHAGEN_2024_CAPSULES = {
|
|
163
465
|
"page": "https://steamcommunity.com/market/search?q=copenhagen+capsule",
|
|
164
466
|
"items": [
|
|
165
467
|
"https://steamcommunity.com/market/listings/730/Copenhagen%202024%20Legends%20Sticker%20Capsule",
|
|
@@ -181,7 +483,7 @@ COPENHAGEN_CAPSULES = {
|
|
|
181
483
|
],
|
|
182
484
|
}
|
|
183
485
|
|
|
184
|
-
|
|
486
|
+
SHANGHAI_2024_CAPSULES = {
|
|
185
487
|
"page": "https://steamcommunity.com/market/search?q=shanghai+capsule",
|
|
186
488
|
"items": [
|
|
187
489
|
"https://steamcommunity.com/market/listings/730/Shanghai%202024%20Legends%20Sticker%20Capsule",
|
|
@@ -203,7 +505,7 @@ SHANGHAI_CAPSULES = {
|
|
|
203
505
|
],
|
|
204
506
|
}
|
|
205
507
|
|
|
206
|
-
|
|
508
|
+
AUSTIN_2025_CAPSULES = {
|
|
207
509
|
"page": "https://steamcommunity.com/market/search?q=austin+capsule",
|
|
208
510
|
"items": [
|
|
209
511
|
"https://steamcommunity.com/market/listings/730/Austin%202025%20Legends%20Sticker%20Capsule",
|
|
@@ -226,103 +528,26 @@ AUSTIN_CAPSULES = {
|
|
|
226
528
|
}
|
|
227
529
|
|
|
228
530
|
CAPSULE_INFO = {
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
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,
|
|
237
553
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
CASE_PAGES = [
|
|
241
|
-
"https://steamcommunity.com/market/search?q=revolution+case",
|
|
242
|
-
"https://steamcommunity.com/market/search?q=recoil+case",
|
|
243
|
-
"https://steamcommunity.com/market/search?q=dreams+and+nightmares+case",
|
|
244
|
-
"https://steamcommunity.com/market/search?q=operation+riptide+case",
|
|
245
|
-
"https://steamcommunity.com/market/search?q=snakebite+case",
|
|
246
|
-
"https://steamcommunity.com/market/search?q=broken+fang+case",
|
|
247
|
-
"https://steamcommunity.com/market/search?q=fracture+case",
|
|
248
|
-
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
249
|
-
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
250
|
-
"https://steamcommunity.com/market/search?q=chroma+case",
|
|
251
|
-
"https://steamcommunity.com/market/search?q=clutch+case",
|
|
252
|
-
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
253
|
-
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
254
|
-
"https://steamcommunity.com/market/search?q=csgo+weapon+case",
|
|
255
|
-
"https://steamcommunity.com/market/search?q=cs20+case",
|
|
256
|
-
"https://steamcommunity.com/market/search?q=danger+zone+case",
|
|
257
|
-
"https://steamcommunity.com/market/search?q=esports+case",
|
|
258
|
-
"https://steamcommunity.com/market/search?q=esports+case",
|
|
259
|
-
"https://steamcommunity.com/market/search?q=esports+case",
|
|
260
|
-
"https://steamcommunity.com/market/search?q=falchion+case",
|
|
261
|
-
"https://steamcommunity.com/market/search?q=gamma+case",
|
|
262
|
-
"https://steamcommunity.com/market/search?q=gamma+case",
|
|
263
|
-
"https://steamcommunity.com/market/search?q=glove+case",
|
|
264
|
-
"https://steamcommunity.com/market/search?q=horizon+case",
|
|
265
|
-
"https://steamcommunity.com/market/search?q=huntsman+weapon+case",
|
|
266
|
-
"https://steamcommunity.com/market/search?q=operation+bravo+case",
|
|
267
|
-
"https://steamcommunity.com/market/search?q=operation+breakout+case",
|
|
268
|
-
"https://steamcommunity.com/market/search?q=operation+hydra+case",
|
|
269
|
-
"https://steamcommunity.com/market/search?q=operation+phoenix+case",
|
|
270
|
-
"https://steamcommunity.com/market/search?q=operation+vanguard+case",
|
|
271
|
-
"https://steamcommunity.com/market/search?q=operation+wildfire+case",
|
|
272
|
-
"https://steamcommunity.com/market/search?q=prisma+case",
|
|
273
|
-
"https://steamcommunity.com/market/search?q=prisma+case",
|
|
274
|
-
"https://steamcommunity.com/market/search?q=revolver+case",
|
|
275
|
-
"https://steamcommunity.com/market/search?q=shadow+case",
|
|
276
|
-
"https://steamcommunity.com/market/search?q=shattered+web+case",
|
|
277
|
-
"https://steamcommunity.com/market/search?q=spectrum+case",
|
|
278
|
-
"https://steamcommunity.com/market/search?q=spectrum+case",
|
|
279
|
-
"https://steamcommunity.com/market/search?q=winter+offensive+case",
|
|
280
|
-
"https://steamcommunity.com/market/search?q=kilowatt+case",
|
|
281
|
-
"https://steamcommunity.com/market/search?q=gallery+case",
|
|
282
|
-
"https://steamcommunity.com/market/search?q=fever+case",
|
|
283
|
-
]
|
|
284
|
-
|
|
285
|
-
CASE_HREFS = [
|
|
286
|
-
"https://steamcommunity.com/market/listings/730/Revolution%20Case",
|
|
287
|
-
"https://steamcommunity.com/market/listings/730/Recoil%20Case",
|
|
288
|
-
"https://steamcommunity.com/market/listings/730/Dreams%20%26%20Nightmares%20Case",
|
|
289
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Riptide%20Case",
|
|
290
|
-
"https://steamcommunity.com/market/listings/730/Snakebite%20Case",
|
|
291
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Broken%20Fang%20Case",
|
|
292
|
-
"https://steamcommunity.com/market/listings/730/Fracture%20Case",
|
|
293
|
-
"https://steamcommunity.com/market/listings/730/Chroma%20Case",
|
|
294
|
-
"https://steamcommunity.com/market/listings/730/Chroma%202%20Case",
|
|
295
|
-
"https://steamcommunity.com/market/listings/730/Chroma%203%20Case",
|
|
296
|
-
"https://steamcommunity.com/market/listings/730/Clutch%20Case",
|
|
297
|
-
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case",
|
|
298
|
-
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case%202",
|
|
299
|
-
"https://steamcommunity.com/market/listings/730/CS%3AGO%20Weapon%20Case%203",
|
|
300
|
-
"https://steamcommunity.com/market/listings/730/CS20%20Case",
|
|
301
|
-
"https://steamcommunity.com/market/listings/730/Danger%20Zone%20Case",
|
|
302
|
-
"https://steamcommunity.com/market/listings/730/eSports%202013%20Case",
|
|
303
|
-
"https://steamcommunity.com/market/listings/730/eSports%202013%20Winter%20Case",
|
|
304
|
-
"https://steamcommunity.com/market/listings/730/eSports%202014%20Summer%20Case",
|
|
305
|
-
"https://steamcommunity.com/market/listings/730/Falchion%20Case",
|
|
306
|
-
"https://steamcommunity.com/market/listings/730/Gamma%20Case",
|
|
307
|
-
"https://steamcommunity.com/market/listings/730/Gamma%202%20Case",
|
|
308
|
-
"https://steamcommunity.com/market/listings/730/Glove%20Case",
|
|
309
|
-
"https://steamcommunity.com/market/listings/730/Horizon%20Case",
|
|
310
|
-
"https://steamcommunity.com/market/listings/730/Huntsman%20Weapon%20Case",
|
|
311
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Bravo%20Case",
|
|
312
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Breakout%20Weapon%20Case",
|
|
313
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Hydra%20Case",
|
|
314
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Phoenix%20Weapon%20Case",
|
|
315
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Vanguard%20Weapon%20Case",
|
|
316
|
-
"https://steamcommunity.com/market/listings/730/Operation%20Wildfire%20Case",
|
|
317
|
-
"https://steamcommunity.com/market/listings/730/Prisma%20Case",
|
|
318
|
-
"https://steamcommunity.com/market/listings/730/Prisma%202%20Case",
|
|
319
|
-
"https://steamcommunity.com/market/listings/730/Revolver%20Case",
|
|
320
|
-
"https://steamcommunity.com/market/listings/730/Shadow%20Case",
|
|
321
|
-
"https://steamcommunity.com/market/listings/730/Shattered%20Web%20Case",
|
|
322
|
-
"https://steamcommunity.com/market/listings/730/Spectrum%20Case",
|
|
323
|
-
"https://steamcommunity.com/market/listings/730/Spectrum%202%20Case",
|
|
324
|
-
"https://steamcommunity.com/market/listings/730/Winter%20Offensive%20Weapon%20Case",
|
|
325
|
-
"https://steamcommunity.com/market/listings/730/Kilowatt%20Case",
|
|
326
|
-
"https://steamcommunity.com/market/listings/730/Gallery%20Case",
|
|
327
|
-
"https://steamcommunity.com/market/listings/730/Fever%20Case",
|
|
328
|
-
]
|
cs2tracker/data/config.ini
CHANGED
|
@@ -2,112 +2,197 @@
|
|
|
2
2
|
Use_Proxy = False
|
|
3
3
|
API_Key = None
|
|
4
4
|
|
|
5
|
+
[Cases]
|
|
6
|
+
Revolution_Case = 0
|
|
7
|
+
Recoil_Case = 0
|
|
8
|
+
Dreams_And_Nightmares_Case = 0
|
|
9
|
+
Operation_Riptide_Case = 0
|
|
10
|
+
Snakebite_Case = 0
|
|
11
|
+
Operation_Broken_Fang_Case = 0
|
|
12
|
+
Fracture_Case = 0
|
|
13
|
+
Chroma_Case = 0
|
|
14
|
+
Chroma_2_Case = 0
|
|
15
|
+
Chroma_3_Case = 0
|
|
16
|
+
Clutch_Case = 0
|
|
17
|
+
CSGO_Weapon_Case = 0
|
|
18
|
+
CSGO_Weapon_Case_2 = 0
|
|
19
|
+
CSGO_Weapon_Case_3 = 0
|
|
20
|
+
CS20_Case = 0
|
|
21
|
+
Danger_Zone_Case = 0
|
|
22
|
+
eSports_2013_Case = 0
|
|
23
|
+
eSports_2013_Winter_Case = 0
|
|
24
|
+
eSports_2014_Summer_Case = 0
|
|
25
|
+
Falchion_Case = 0
|
|
26
|
+
Gamma_Case = 0
|
|
27
|
+
Gamma_2_Case = 0
|
|
28
|
+
Glove_Case = 0
|
|
29
|
+
Horizon_Case = 0
|
|
30
|
+
Huntsman_Case = 0
|
|
31
|
+
Operation_Bravo_Case = 0
|
|
32
|
+
Operation_Breakout_Case = 0
|
|
33
|
+
Operation_Hydra_Case = 0
|
|
34
|
+
Operation_Phoenix_Case = 0
|
|
35
|
+
Operation_Vanguard_Case = 0
|
|
36
|
+
Operation_Wildfire_Case = 0
|
|
37
|
+
Prisma_Case = 0
|
|
38
|
+
Prisma_2_Case = 0
|
|
39
|
+
Revolver_Case = 0
|
|
40
|
+
Shadow_Case = 0
|
|
41
|
+
Shattered_Web_Case = 0
|
|
42
|
+
Spectrum_Case = 0
|
|
43
|
+
Spectrum_2_Case = 0
|
|
44
|
+
Winter_Offensive_Case = 0
|
|
45
|
+
Kilowatt_Case = 0
|
|
46
|
+
Gallery_Case = 0
|
|
47
|
+
Fever_Case = 0
|
|
48
|
+
|
|
49
|
+
[Katowice 2014 Sticker Capsule]
|
|
50
|
+
Katowice_Legends = 0
|
|
51
|
+
Katowice_Challengers = 0
|
|
52
|
+
|
|
53
|
+
[Cologne 2014 Sticker Capsule]
|
|
54
|
+
Cologne_Legends = 0
|
|
55
|
+
Cologne_Challengers = 0
|
|
56
|
+
|
|
57
|
+
[DreamHack 2014 Sticker Capsule]
|
|
58
|
+
DreamHack_Legends = 0
|
|
59
|
+
|
|
60
|
+
[Katowice 2015 Sticker Capsule]
|
|
61
|
+
Katowice_Legends = 0
|
|
62
|
+
Katowice_Challengers = 0
|
|
63
|
+
|
|
64
|
+
[Cologne 2015 Sticker Capsule]
|
|
65
|
+
Cologne_Legends = 0
|
|
66
|
+
Cologne_Challengers = 0
|
|
67
|
+
|
|
68
|
+
[Cluj-Napoca 2015 Sticker Capsule]
|
|
69
|
+
Cluj_Napoca_Legends = 0
|
|
70
|
+
Cluj_Napoca_Challengers = 0
|
|
71
|
+
Cluj_Napoca_Legends_Autographs = 0
|
|
72
|
+
Cluj_Napoca_Challengers_Autographs = 0
|
|
73
|
+
|
|
74
|
+
[Columbus 2016 Sticker Capsule]
|
|
75
|
+
Columbus_Legends = 0
|
|
76
|
+
Columbus_Challengers = 0
|
|
77
|
+
Columbus_Legends_Autographs = 0
|
|
78
|
+
Columbus_Challengers_Autographs = 0
|
|
79
|
+
|
|
80
|
+
[Cologne 2016 Sticker Capsule]
|
|
81
|
+
Cologne_Legends = 0
|
|
82
|
+
Cologne_Challengers = 0
|
|
83
|
+
Cologne_Legends_Autographs = 0
|
|
84
|
+
Cologne_Challengers_Autographs = 0
|
|
85
|
+
|
|
86
|
+
[Atlanta 2017 Sticker Capsule]
|
|
87
|
+
Atlanta_Legends = 0
|
|
88
|
+
Atlanta_Challengers = 0
|
|
89
|
+
Atlanta_Legends_Autographs = 0
|
|
90
|
+
Atlanta_Challengers_Autographs = 0
|
|
91
|
+
|
|
92
|
+
[Krakow 2017 Sticker Capsule]
|
|
93
|
+
Krakow_Legends = 0
|
|
94
|
+
Krakow_Challengers = 0
|
|
95
|
+
Krakow_Legends_Autographs = 0
|
|
96
|
+
Krakow_Challengers_Autographs = 0
|
|
97
|
+
|
|
98
|
+
[Boston 2018 Sticker Capsule]
|
|
99
|
+
Boston_Legends = 0
|
|
100
|
+
Boston_Minor_Challengers = 0
|
|
101
|
+
Boston_Returning_Challengers = 0
|
|
102
|
+
Boston_Attending_Legends = 0
|
|
103
|
+
Boston_Minor_Challengers_with_Flash_Gaming = 0
|
|
104
|
+
Boston_Legends_Autographs = 0
|
|
105
|
+
Boston_Minor_Challengers_Autographs = 0
|
|
106
|
+
Boston_Returning_Challengers_Autographs = 0
|
|
107
|
+
Boston_Attending_Legends_Autographs = 0
|
|
108
|
+
Boston_Minor_Challengers_with_Flash_Gaming_Autographs = 0
|
|
109
|
+
|
|
110
|
+
[London 2018 Sticker Capsule]
|
|
111
|
+
London_Legends = 0
|
|
112
|
+
London_Minor_Challengers = 0
|
|
113
|
+
London_Returning_Challengers = 0
|
|
114
|
+
London_Legends_Autographs = 0
|
|
115
|
+
London_Minor_Challengers_Autographs = 0
|
|
116
|
+
London_Returning_Challengers_Autographs = 0
|
|
117
|
+
|
|
118
|
+
[Katowice 2019 Sticker Capsule]
|
|
119
|
+
Katowice_Legends = 0
|
|
120
|
+
Katowice_Minor_Challengers = 0
|
|
121
|
+
Katowice_Returning_Challengers = 0
|
|
122
|
+
Katowice_Legends_Autographs = 0
|
|
123
|
+
Katowice_Minor_Challengers_Autographs = 0
|
|
124
|
+
Katowice_Returning_Challengers_Autographs = 0
|
|
125
|
+
|
|
126
|
+
[Berlin 2019 Sticker Capsule]
|
|
127
|
+
Berlin_Legends = 0
|
|
128
|
+
Berlin_Minor_Challengers = 0
|
|
129
|
+
Berlin_Returning_Challengers = 0
|
|
130
|
+
Berlin_Legends_Autographs = 0
|
|
131
|
+
Berlin_Minor_Challengers_Autographs = 0
|
|
132
|
+
Berlin_Returning_Challengers_Autographs = 0
|
|
133
|
+
|
|
5
134
|
[2020 RMR Sticker Capsule]
|
|
6
|
-
RMR_Challengers = 0
|
|
7
135
|
RMR_Legends = 0
|
|
136
|
+
RMR_Challengers = 0
|
|
8
137
|
RMR_Contenders = 0
|
|
9
138
|
|
|
10
139
|
[Stockholm 2021 Sticker Capsule]
|
|
11
|
-
Stockholm_Challengers = 0
|
|
12
140
|
Stockholm_Legends = 0
|
|
141
|
+
Stockholm_Challengers = 0
|
|
13
142
|
Stockholm_Contenders = 0
|
|
14
143
|
Stockholm_Champions_Autographs = 0
|
|
15
144
|
Stockholm_Finalists_Autographs = 0
|
|
16
145
|
|
|
17
146
|
[Antwerp 2022 Sticker Capsule]
|
|
18
|
-
Antwerp_Challengers = 0
|
|
19
147
|
Antwerp_Legends = 0
|
|
148
|
+
Antwerp_Challengers = 0
|
|
20
149
|
Antwerp_Contenders = 0
|
|
21
150
|
Antwerp_Champions_Autographs = 0
|
|
22
|
-
Antwerp_Contenders_Autographs = 0
|
|
23
151
|
Antwerp_Challengers_Autographs = 0
|
|
24
152
|
Antwerp_Legends_Autographs = 0
|
|
153
|
+
Antwerp_Contenders_Autographs = 0
|
|
25
154
|
|
|
26
155
|
[Rio 2022 Sticker Capsule]
|
|
27
|
-
Rio_Challengers = 0
|
|
28
156
|
Rio_Legends = 0
|
|
157
|
+
Rio_Challengers = 0
|
|
29
158
|
Rio_Contenders = 0
|
|
30
159
|
Rio_Champions_Autographs = 0
|
|
31
|
-
Rio_Contenders_Autographs = 0
|
|
32
160
|
Rio_Challengers_Autographs = 0
|
|
33
161
|
Rio_Legends_Autographs = 0
|
|
162
|
+
Rio_Contenders_Autographs = 0
|
|
34
163
|
|
|
35
164
|
[Paris 2023 Sticker Capsule]
|
|
36
|
-
Paris_Challengers = 0
|
|
37
165
|
Paris_Legends = 0
|
|
166
|
+
Paris_Challengers = 0
|
|
38
167
|
Paris_Contenders = 0
|
|
39
168
|
Paris_Champions_Autographs = 0
|
|
40
|
-
Paris_Contenders_Autographs = 0
|
|
41
169
|
Paris_Challengers_Autographs = 0
|
|
42
170
|
Paris_Legends_Autographs = 0
|
|
171
|
+
Paris_Contenders_Autographs = 0
|
|
43
172
|
|
|
44
173
|
[Copenhagen 2024 Sticker Capsule]
|
|
45
|
-
Copenhagen_Challengers = 0
|
|
46
174
|
Copenhagen_Legends = 0
|
|
175
|
+
Copenhagen_Challengers = 0
|
|
47
176
|
Copenhagen_Contenders = 0
|
|
48
177
|
Copenhagen_Champions_Autographs = 0
|
|
49
|
-
Copenhagen_Contenders_Autographs = 0
|
|
50
178
|
Copenhagen_Challengers_Autographs = 0
|
|
51
179
|
Copenhagen_Legends_Autographs = 0
|
|
180
|
+
Copenhagen_Contenders_Autographs = 0
|
|
52
181
|
|
|
53
182
|
[Shanghai 2024 Sticker Capsule]
|
|
54
|
-
Shanghai_Challengers = 0
|
|
55
183
|
Shanghai_Legends = 0
|
|
184
|
+
Shanghai_Challengers = 0
|
|
56
185
|
Shanghai_Contenders = 0
|
|
57
186
|
Shanghai_Champions_Autographs = 0
|
|
58
|
-
Shanghai_Contenders_Autographs = 0
|
|
59
187
|
Shanghai_Challengers_Autographs = 0
|
|
60
188
|
Shanghai_Legends_Autographs = 0
|
|
189
|
+
Shanghai_Contenders_Autographs = 0
|
|
61
190
|
|
|
62
191
|
[Austin 2025 Sticker Capsule]
|
|
63
|
-
Austin_Challengers = 0
|
|
64
192
|
Austin_Legends = 0
|
|
193
|
+
Austin_Challengers = 0
|
|
65
194
|
Austin_Contenders = 0
|
|
66
195
|
Austin_Champions_Autographs = 0
|
|
67
|
-
Austin_Contenders_Autographs = 0
|
|
68
196
|
Austin_Challengers_Autographs = 0
|
|
69
197
|
Austin_Legends_Autographs = 0
|
|
70
|
-
|
|
71
|
-
[Cases]
|
|
72
|
-
Revolution_Case = 0
|
|
73
|
-
Recoil_Case = 0
|
|
74
|
-
Dreams_And_Nightmares_Case = 0
|
|
75
|
-
Operation_Riptide_Case = 0
|
|
76
|
-
Snakebite_Case = 0
|
|
77
|
-
Operation_Broken_Fang_Case = 0
|
|
78
|
-
Fracture_Case = 0
|
|
79
|
-
Chroma_Case = 0
|
|
80
|
-
Chroma_2_Case = 0
|
|
81
|
-
Chroma_3_Case = 0
|
|
82
|
-
Clutch_Case = 0
|
|
83
|
-
CSGO_Weapon_Case = 0
|
|
84
|
-
CSGO_Weapon_Case_2 = 0
|
|
85
|
-
CSGO_Weapon_Case_3 = 0
|
|
86
|
-
CS20_Case = 0
|
|
87
|
-
Danger_Zone_Case = 0
|
|
88
|
-
eSports_2013_Case = 0
|
|
89
|
-
eSports_2013_Winter_Case = 0
|
|
90
|
-
eSports_2014_Summer_Case = 0
|
|
91
|
-
Falchion_Case = 0
|
|
92
|
-
Gamma_Case = 0
|
|
93
|
-
Gamma_2_Case = 0
|
|
94
|
-
Glove_Case = 0
|
|
95
|
-
Horizon_Case = 0
|
|
96
|
-
Huntsman_Case = 0
|
|
97
|
-
Operation_Bravo_Case = 0
|
|
98
|
-
Operation_Breakout_Case = 0
|
|
99
|
-
Operation_Hydra_Case = 0
|
|
100
|
-
Operation_Phoenix_Case = 0
|
|
101
|
-
Operation_Vanguard_Case = 0
|
|
102
|
-
Operation_Wildfire_Case = 0
|
|
103
|
-
Prisma_Case = 0
|
|
104
|
-
Prisma_2_Case = 0
|
|
105
|
-
Revolver_Case = 0
|
|
106
|
-
Shadow_Case = 0
|
|
107
|
-
Shattered_Web_Case = 0
|
|
108
|
-
Spectrum_Case = 0
|
|
109
|
-
Spectrum_2_Case = 0
|
|
110
|
-
Winter_Offensive_Case = 0
|
|
111
|
-
Kilowatt_Case = 0
|
|
112
|
-
Gallery_Case = 0
|
|
113
|
-
Fever_Case = 0
|
|
198
|
+
Austin_Contenders_Autographs = 0
|
cs2tracker/main.py
CHANGED
|
@@ -19,13 +19,13 @@ def main():
|
|
|
19
19
|
# Disable warnings for proxy requests
|
|
20
20
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
21
21
|
|
|
22
|
+
console = PaddedConsole()
|
|
23
|
+
console.print(f"[bold yellow]{BANNER}\n{AUTHOR_STRING}\n")
|
|
24
|
+
|
|
22
25
|
if "--only-scrape" in sys.argv:
|
|
23
26
|
scraper = Scraper()
|
|
24
|
-
scraper.console.print(f"[bold yellow]{BANNER}\n{AUTHOR_STRING}\n")
|
|
25
27
|
scraper.scrape_prices()
|
|
26
28
|
else:
|
|
27
|
-
console = PaddedConsole()
|
|
28
|
-
console.print(f"[bold yellow]{BANNER}\n{AUTHOR_STRING}\n")
|
|
29
29
|
application = Application()
|
|
30
30
|
application.run()
|
|
31
31
|
|
cs2tracker/scraper.py
CHANGED
|
@@ -31,7 +31,7 @@ from cs2tracker.padded_console import PaddedConsole
|
|
|
31
31
|
|
|
32
32
|
MAX_LINE_LEN = 72
|
|
33
33
|
SEPARATOR = "-"
|
|
34
|
-
PRICE_INFO = "Owned: {}
|
|
34
|
+
PRICE_INFO = "Owned: {:<10} Steam market price: ${:<10} Total: ${:<10}\n"
|
|
35
35
|
|
|
36
36
|
HTTP_PROXY_URL = "http://{}:@smartproxy.crawlbase.com:8012"
|
|
37
37
|
HTTPS_PROXY_URL = "http://{}:@smartproxy.crawlbase.com:8012"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cs2tracker
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.6
|
|
4
4
|
Summary: Tracking the steam market prices of CS2 items
|
|
5
5
|
Home-page: https://github.com/ashiven/cs2tracker
|
|
6
6
|
Author: Jannik Novak
|
|
@@ -45,19 +45,19 @@ Dynamic: license-file
|
|
|
45
45
|
|
|
46
46
|
### Setup
|
|
47
47
|
|
|
48
|
-
#### Windows Executable (
|
|
48
|
+
#### Windows Executable *(no color support)*
|
|
49
49
|
|
|
50
|
-
- Simply download the
|
|
50
|
+
- Simply [download the latest executable](https://github.com/ashiven/cs2tracker/releases/latest/download/cs2tracker-windows.zip) and run it.
|
|
51
51
|
|
|
52
52
|
#### Install via Pip
|
|
53
53
|
|
|
54
|
-
1. Install the program
|
|
54
|
+
1. Install the program:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
pip install
|
|
57
|
+
pip install cs2tracker
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
2.
|
|
60
|
+
2. Run it:
|
|
61
61
|
```bash
|
|
62
62
|
cs2tracker
|
|
63
63
|
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
cs2tracker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
cs2tracker/__main__.py,sha256=Ub--oSMv48YzfWF1CZqYlkn1-HvZ7Bhxoc7urn1oY6o,249
|
|
3
|
+
cs2tracker/_version.py,sha256=CPOcsx1R_s9lB3K-XQvmbXItD2EvuBASo_a4U-9_vJ0,511
|
|
4
|
+
cs2tracker/application.py,sha256=fuErv6Xit1iZpdjRhcjPqR1EZ8Nw4Yqtg3m8y9V3_vY,7363
|
|
5
|
+
cs2tracker/constants.py,sha256=1rI7GfaEVyPjzX3GLMGUCNkwSJLI0jWmW10wJj2JJME,29042
|
|
6
|
+
cs2tracker/main.py,sha256=-gw0n4Y2kpWyFrRGuK4ZHGTiCcEIlDUDKQGS4tK6gbc,833
|
|
7
|
+
cs2tracker/padded_console.py,sha256=lPEa34p-8LTmTbpf-2S5uYPaA2UmsIOPq2_UoVhMRgU,674
|
|
8
|
+
cs2tracker/scraper.py,sha256=RM7wxZpqawS6opb76zNPU2s1rxNHdDslJlW0NpDRiuQ,16206
|
|
9
|
+
cs2tracker/data/config.ini,sha256=5LUUn1ee5nt8C_ifHxROUsxbT9aSezVqQ5641gkov-I,4945
|
|
10
|
+
cs2tracker/data/output.csv,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
cs2tracker-2.1.6.dist-info/licenses/LICENSE.md,sha256=G5wqQ_8KGA808kVuF-Fpu_Yhteg8K_5ux9n2v8eQK7s,1069
|
|
12
|
+
cs2tracker-2.1.6.dist-info/METADATA,sha256=2GCEnxRYH6ShZzM2q7a1Uu0kWZy754lWyEr_DvJ44gA,3141
|
|
13
|
+
cs2tracker-2.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
cs2tracker-2.1.6.dist-info/entry_points.txt,sha256=K8IwDIkg8QztSB9g9c89B9jR_2pG4QyJGrNs4z5RcZw,63
|
|
15
|
+
cs2tracker-2.1.6.dist-info/top_level.txt,sha256=2HB4xDDOxaU5BDc_yvdi9UlYLgL768n8aR-hRhFM6VQ,11
|
|
16
|
+
cs2tracker-2.1.6.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
cs2tracker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cs2tracker/__main__.py,sha256=Ub--oSMv48YzfWF1CZqYlkn1-HvZ7Bhxoc7urn1oY6o,249
|
|
3
|
-
cs2tracker/_version.py,sha256=ezuEPMmZBPsFTNec3uKYV6IfWrjNpfiIok1e_GQvZGQ,511
|
|
4
|
-
cs2tracker/application.py,sha256=pFmPRmm9OdYRLLl6qnmkHyV7oLI-Le4YSO26VX7eP4U,7180
|
|
5
|
-
cs2tracker/constants.py,sha256=er-YFaEe8WachO_q-RU6vik5SUcFEtacHxGYhD15Stk,17104
|
|
6
|
-
cs2tracker/main.py,sha256=kiTADEXXnX1y3kh0zII91mjadztMB145RBteXM2WG3I,915
|
|
7
|
-
cs2tracker/padded_console.py,sha256=lPEa34p-8LTmTbpf-2S5uYPaA2UmsIOPq2_UoVhMRgU,674
|
|
8
|
-
cs2tracker/scraper.py,sha256=hrL01_HWHpZZgkevj5JCmET0o2T1wSbmsxapuK11gv4,16202
|
|
9
|
-
cs2tracker/data/config.ini,sha256=q-T7_W3krPVJJoMcRJGGczNRvCZw-wJfNobpsdUEDNs,2672
|
|
10
|
-
cs2tracker/data/output.csv,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
cs2tracker-2.1.5.dist-info/licenses/LICENSE.md,sha256=G5wqQ_8KGA808kVuF-Fpu_Yhteg8K_5ux9n2v8eQK7s,1069
|
|
12
|
-
cs2tracker-2.1.5.dist-info/METADATA,sha256=zFEptkI_0AXDALL3uGqz0pTsRGn5OQMmnn-qAL6azfs,3126
|
|
13
|
-
cs2tracker-2.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
-
cs2tracker-2.1.5.dist-info/entry_points.txt,sha256=K8IwDIkg8QztSB9g9c89B9jR_2pG4QyJGrNs4z5RcZw,63
|
|
15
|
-
cs2tracker-2.1.5.dist-info/top_level.txt,sha256=2HB4xDDOxaU5BDc_yvdi9UlYLgL768n8aR-hRhFM6VQ,11
|
|
16
|
-
cs2tracker-2.1.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|