tf2-sku-to-name 2.0.0__py3-none-any.whl → 2.0.1__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.
- sku/__init__.py +1 -1
- sku/schema.py +4 -1
- {tf2_sku_to_name-2.0.0.dist-info → tf2_sku_to_name-2.0.1.dist-info}/METADATA +1 -1
- tf2_sku_to_name-2.0.1.dist-info/RECORD +9 -0
- tf2_sku_to_name-2.0.0.dist-info/RECORD +0 -9
- {tf2_sku_to_name-2.0.0.dist-info → tf2_sku_to_name-2.0.1.dist-info}/WHEEL +0 -0
- {tf2_sku_to_name-2.0.0.dist-info → tf2_sku_to_name-2.0.1.dist-info}/licenses/LICENSE +0 -0
- {tf2_sku_to_name-2.0.0.dist-info → tf2_sku_to_name-2.0.1.dist-info}/top_level.txt +0 -0
sku/__init__.py
CHANGED
sku/schema.py
CHANGED
@@ -245,7 +245,10 @@ class Schema:
|
|
245
245
|
|
246
246
|
def _fetch_from_autobot(self):
|
247
247
|
try:
|
248
|
-
|
248
|
+
headers = {
|
249
|
+
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
|
250
|
+
}
|
251
|
+
response = requests.get('https://schema.autobot.tf/schema', headers=headers)
|
249
252
|
response.raise_for_status()
|
250
253
|
data = response.json()
|
251
254
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
sku/__init__.py,sha256=GDLOBRSUgMTYcgjA-T4tzTEiXQF8YHwNtzNaoeLILxQ,377
|
2
|
+
sku/models.py,sha256=9jQimlGwJrJRmAY5o9PTKfdgp5kRajjMcH-Xp3GA35k,804
|
3
|
+
sku/parser.py,sha256=f-myoUIpbNyAT9tUct0gsZSG14VKnZA9IV6SllsTvKA,26650
|
4
|
+
sku/schema.py,sha256=U_L-p4p7eJstR3lVKu6Bca6vxEZXbA0wBpEt9c5nXtE,25254
|
5
|
+
tf2_sku_to_name-2.0.1.dist-info/licenses/LICENSE,sha256=oZXGpA1oKt4L1lkrblMbut3_ClR3etussSbI0pBkL38,1070
|
6
|
+
tf2_sku_to_name-2.0.1.dist-info/METADATA,sha256=xXRfvs47b__3zfC-tcmFy_JhRsDe1zPeTUdolNT3PdM,2723
|
7
|
+
tf2_sku_to_name-2.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tf2_sku_to_name-2.0.1.dist-info/top_level.txt,sha256=2ekTXVLQ1fHUW3ge6PK7EaoEwkUy0tnsaDvoNkPXfNw,4
|
9
|
+
tf2_sku_to_name-2.0.1.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
sku/__init__.py,sha256=77dSD2mzT1jgk-OYCWpuHVBTBCmWMdqfbwCONzmd2s0,377
|
2
|
-
sku/models.py,sha256=9jQimlGwJrJRmAY5o9PTKfdgp5kRajjMcH-Xp3GA35k,804
|
3
|
-
sku/parser.py,sha256=f-myoUIpbNyAT9tUct0gsZSG14VKnZA9IV6SllsTvKA,26650
|
4
|
-
sku/schema.py,sha256=MxfQGo8dAm5O_YZ0uzicQwULSz-4khoz_-l04i6uEZ8,25051
|
5
|
-
tf2_sku_to_name-2.0.0.dist-info/licenses/LICENSE,sha256=oZXGpA1oKt4L1lkrblMbut3_ClR3etussSbI0pBkL38,1070
|
6
|
-
tf2_sku_to_name-2.0.0.dist-info/METADATA,sha256=vMREIUXo44PBZcUhbWTWCKksodvujdKiwPTeZgCSh2c,2723
|
7
|
-
tf2_sku_to_name-2.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tf2_sku_to_name-2.0.0.dist-info/top_level.txt,sha256=2ekTXVLQ1fHUW3ge6PK7EaoEwkUy0tnsaDvoNkPXfNw,4
|
9
|
-
tf2_sku_to_name-2.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|