eaf-base-api 2.2.1__tar.gz → 2.2.3__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
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: eaf_base_api
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary: A base API for EchterAlsFake's Porn APIs
5
5
  Home-page: https://github.com/EchterAlsFake/eaf_base_api
6
6
  Author: Johannes Habel
@@ -13,6 +13,15 @@ License-File: LICENSE
13
13
  Requires-Dist: ffmpeg-progress-yield
14
14
  Requires-Dist: m3u8
15
15
  Requires-Dist: httpx
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
16
25
 
17
26
  # EAF Base API
18
27
 
@@ -264,9 +264,7 @@ class BaseCore:
264
264
  Returns a tuple of the URL, content (empty if failed after retries), and a success flag.
265
265
  """
266
266
 
267
- response = BaseCore().fetch(url, timeout=timeout, get_response=True)
268
- response.raise_for_status()
269
- content = b"".join(response.iter_bytes())
267
+ content = BaseCore().fetch(url, timeout=timeout, get_bytes=True)
270
268
  return url, content, True # Success
271
269
 
272
270
  def threaded(self, max_workers: int = 20, timeout: int = 10):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: eaf_base_api
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary: A base API for EchterAlsFake's Porn APIs
5
5
  Home-page: https://github.com/EchterAlsFake/eaf_base_api
6
6
  Author: Johannes Habel
@@ -13,6 +13,15 @@ License-File: LICENSE
13
13
  Requires-Dist: ffmpeg-progress-yield
14
14
  Requires-Dist: m3u8
15
15
  Requires-Dist: httpx
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
16
25
 
17
26
  # EAF Base API
18
27
 
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="eaf_base_api",
5
- version="2.2.1",
5
+ version="2.2.3",
6
6
  packages=find_packages(),
7
7
  install_requires=["ffmpeg-progress-yield", "m3u8", "httpx"],
8
8
  entry_points={
File without changes
File without changes
File without changes