steamcom 1.2.40__tar.gz → 1.2.41__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: steamcom
3
- Version: 1.2.40
3
+ Version: 1.2.41
4
4
  Summary: Python implementation of the Steam Community API
5
5
  Project-URL: Homepage, https://github.com/LinarSharifullin/steamcom
6
6
  Author: Linar Sharifullin
@@ -9,7 +9,7 @@ packages = ["/steamcom"]
9
9
  name = "steamcom"
10
10
  description = "Python implementation of the Steam Community API"
11
11
  # The version uploaded to pypi has been changed by action "pypi_publish.yml"
12
- version = "1.2.40"
12
+ version = "1.2.41"
13
13
  authors = [
14
14
  { name="Linar Sharifullin"},
15
15
  ]
@@ -9,7 +9,7 @@ import requests
9
9
 
10
10
  from steamcom.login import LoginExecutor
11
11
  from steamcom.confirmations import ConfirmationExecutor
12
- from steamcom.utils import (login_required, parse_price, api_request,
12
+ from steamcom.utils import (login_required, api_request,
13
13
  merge_items_with_descriptions_from_inventory,
14
14
  get_key_value_from_url, account_id_to_steam_id,
15
15
  create_offer_dict)
@@ -30,20 +30,16 @@ class SteamClient:
30
30
  self.identity_secret = identity_secret
31
31
  self.session = session
32
32
  self.session.headers.update({
33
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
34
- "Accept-Encoding": "gzip, deflate, br, zstd",
33
+ "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8",
35
34
  "Accept-Language": "en-US,en;q=0.9",
36
- "Cache-Control": "max-age=0",
37
- "Connection": "keep-alive",
38
- "Sec-Ch-Ua": "\"Chromium\";v=\"143\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"143\"",
39
- "Sec-Ch-Ua-Mbile": "?0",
40
- "Sec-Ch-Ua-Platform": "\"Linux\"",
41
- "Sec-Fetch-Dest": "document",
42
- "Sec-Fetch-Mode": "navigate",
43
- "Sec-Fetch-Site": "none",
44
- "Sec-Fetch-User": "?1",
45
- "Upgrade-Insecure-Requests": "1",
46
- "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
35
+ "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
36
+ "sec-ch-ua-mobile": "?1",
37
+ "sec-ch-ua-platform": "\"Android\"",
38
+ "sec-fetch-dest": "document",
39
+ "sec-fetch-mode": "navigate",
40
+ "sec-fetch-site": "same-origin",
41
+ "sec-fetch-user": "?1",
42
+ "upgrade-insecure-requests": "1"
47
43
  })
48
44
  self.steam_id = '' # will be added after login
49
45
  self.refresh_token = ''
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes