eaf_base_api 3.3.1__tar.gz → 3.3.2__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: eaf_base_api
3
- Version: 3.3.1
3
+ Version: 3.3.2
4
4
  Summary: A base API for EchterAlsFake's Porn APIs
5
5
  Author: Johannes Habel
6
6
  Author-email: Johannes Habel <EchterAlsFake@proton.me>
@@ -978,6 +978,9 @@ class BaseCore:
978
978
  if attempt.retry_state.attempt_number <= 2:
979
979
  raise NetworkingError("429 Rate Limited")
980
980
 
981
+ if status == 401:
982
+ return response # Expected (for Vinted OSINT script I use)
983
+
981
984
  if 500 <= status < 600:
982
985
  self.logger.warning("Server error %s on %s. Retrying...", status, url)
983
986
  raise NetworkingError(f"Server error {status}")
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "eaf_base_api"
7
- version = "3.3.1"
7
+ version = "3.3.2"
8
8
  description = "A base API for EchterAlsFake's Porn APIs"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  requires-python = ">=3.12"
File without changes
File without changes