eaf_base_api 3.2.2__tar.gz → 3.2.4__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.
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/PKG-INFO +1 -1
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/base.py +8 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/pyproject.toml +1 -1
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/LICENSE +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/README.md +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/__init__.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/__init__.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/config.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/errors.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/logger.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/progress_bars.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/static_functions.py +0 -0
- {eaf_base_api-3.2.2 → eaf_base_api-3.2.4}/base_api/modules/type_hints.py +0 -0
|
@@ -1002,6 +1002,10 @@ a new Python file, import only m3u8 and see what error you get.
|
|
|
1002
1002
|
|
|
1003
1003
|
# Resolve master content
|
|
1004
1004
|
assert m3u8 is not None
|
|
1005
|
+
|
|
1006
|
+
if asyncio.iscoroutine(m3u8_url):
|
|
1007
|
+
m3u8_url = await m3u8_url
|
|
1008
|
+
|
|
1005
1009
|
if m3u8_url.lstrip().startswith("#EXTM3U"):
|
|
1006
1010
|
master = m3u8.loads(m3u8_url)
|
|
1007
1011
|
self.logger.debug("Resolved inline/custom m3u8 master content.")
|
|
@@ -1202,6 +1206,10 @@ a new Python file, import only m3u8 and see what error you get.
|
|
|
1202
1206
|
self.logger.debug("download: no callback provided, using default text progress bar")
|
|
1203
1207
|
|
|
1204
1208
|
m3u8_url = getattr(video, "m3u8_base_url", None)
|
|
1209
|
+
|
|
1210
|
+
if asyncio.iscoroutine(m3u8_url):
|
|
1211
|
+
m3u8_url = await m3u8_url # For youporn api
|
|
1212
|
+
|
|
1205
1213
|
self.logger.info(
|
|
1206
1214
|
"""
|
|
1207
1215
|
Download requested: quality=%s path=%s remux=%s max_workers=%s
|
|
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
|
|
File without changes
|