tf2-sku-to-name 2.0.0__tar.gz → 2.0.1__tar.gz
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.
- {tf2_sku_to_name-2.0.0/tf2_sku_to_name.egg-info → tf2_sku_to_name-2.0.1}/PKG-INFO +1 -1
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/setup.py +1 -1
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/sku/__init__.py +1 -1
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/sku/schema.py +4 -1
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1/tf2_sku_to_name.egg-info}/PKG-INFO +1 -1
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/LICENSE +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/README.md +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/setup.cfg +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/sku/models.py +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/sku/parser.py +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/tf2_sku_to_name.egg-info/SOURCES.txt +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/tf2_sku_to_name.egg-info/dependency_links.txt +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/tf2_sku_to_name.egg-info/requires.txt +0 -0
- {tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/tf2_sku_to_name.egg-info/top_level.txt +0 -0
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='tf2-sku-to-name',
|
5
|
-
version='2.0.
|
5
|
+
version='2.0.1',
|
6
6
|
author='Purple Barber',
|
7
7
|
description="A python library that parses TF2 item SKU to the item's name and vice versa.",
|
8
8
|
long_description=open('README.md').read(),
|
@@ -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
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tf2_sku_to_name-2.0.0 → tf2_sku_to_name-2.0.1}/tf2_sku_to_name.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|