yt-dlp-utils 0.0.4__py3-none-any.whl → 0.0.5__py3-none-any.whl

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.

Potentially problematic release.


This version of yt-dlp-utils might be problematic. Click here for more details.

yt_dlp_utils/__init__.py CHANGED
@@ -4,4 +4,4 @@ from __future__ import annotations
4
4
  from .lib import YoutubeDLLogger, get_configured_yt_dlp, setup_session
5
5
 
6
6
  __all__ = ('YoutubeDLLogger', 'get_configured_yt_dlp', 'setup_session')
7
- __version__ = '0.0.4'
7
+ __version__ = '0.0.5'
yt_dlp_utils/lib.py CHANGED
@@ -35,11 +35,7 @@ class YoutubeDLLogger(yt_dlp.cookies.YDLLogger):
35
35
  """Log an info message."""
36
36
  log.info('%s', re.sub(r'^\[info\]\s+', '', message))
37
37
 
38
- def warning(
39
- self,
40
- message: str,
41
- once: bool = False, # noqa: FBT001, FBT002
42
- only_once: bool = False) -> None: # noqa: FBT001, FBT002
38
+ def warning(self, message: str, *, only_once: bool = False) -> None: # type: ignore[override]
43
39
  """Log a warning message."""
44
40
  log.warning('%s', re.sub(r'^\[warn(?:ing)?\]\s+', '', message))
45
41
 
@@ -51,7 +47,7 @@ class YoutubeDLLogger(yt_dlp.cookies.YDLLogger):
51
47
  def get_configured_yt_dlp(sleep_time: int = 3,
52
48
  *,
53
49
  debug: bool = False,
54
- **kwargs: Unpack[yt_dlp.YDLOpts]) -> yt_dlp.YoutubeDL:
50
+ **kwargs: Unpack[yt_dlp._Params]) -> yt_dlp.YoutubeDL:
55
51
  """
56
52
  Get a configured ``YoutubeDL`` instance.
57
53
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: yt-dlp-utils
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Utilities for programmatic use of yt-dlp.
5
5
  License: MIT
6
6
  Keywords: command line,yt-dlp
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Typing :: Typed
18
18
  Requires-Dist: requests (>=2.32.3,<3.0.0)
19
- Requires-Dist: typing-extensions (>=4.13.2,<5.0.0)
19
+ Requires-Dist: typing-extensions (>=4.14.0,<5.0.0)
20
20
  Requires-Dist: yt-dlp[default] (>=2025.5.22,<2026.0.0)
21
21
  Project-URL: Documentation, https://yt-dlp-utils.readthedocs.org
22
22
  Project-URL: Homepage, https://tatsh.github.io/yt-dlp-utils/
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
30
30
  [![PyPI - Version](https://img.shields.io/pypi/v/yt-dlp-utils)](https://pypi.org/project/yt-dlp-utils/)
31
31
  [![GitHub tag (with filter)](https://img.shields.io/github/v/tag/Tatsh/yt-dlp-utils)](https://github.com/Tatsh/yt-dlp-utils/tags)
32
32
  [![License](https://img.shields.io/github/license/Tatsh/yt-dlp-utils)](https://github.com/Tatsh/yt-dlp-utils/blob/master/LICENSE.txt)
33
- [![GitHub commits since latest release (by SemVer including pre-releases)](https://img.shields.io/github/commits-since/Tatsh/yt-dlp-utils/v0.0.4/master)](https://github.com/Tatsh/yt-dlp-utils/compare/v0.0.4...master)
33
+ [![GitHub commits since latest release (by SemVer including pre-releases)](https://img.shields.io/github/commits-since/Tatsh/yt-dlp-utils/v0.0.5/master)](https://github.com/Tatsh/yt-dlp-utils/compare/v0.0.5...master)
34
34
  [![QA](https://github.com/Tatsh/yt-dlp-utils/actions/workflows/qa.yml/badge.svg)](https://github.com/Tatsh/yt-dlp-utils/actions/workflows/qa.yml)
35
35
  [![Tests](https://github.com/Tatsh/yt-dlp-utils/actions/workflows/tests.yml/badge.svg)](https://github.com/Tatsh/yt-dlp-utils/actions/workflows/tests.yml)
36
36
  [![Coverage Status](https://coveralls.io/repos/github/Tatsh/yt-dlp-utils/badge.svg?branch=master)](https://coveralls.io/github/Tatsh/yt-dlp-utils?branch=master)
@@ -0,0 +1,8 @@
1
+ yt_dlp_utils/__init__.py,sha256=jARcU-8Cfxvo0qE0ynVVWxhcTF224d3k4zvK-tGeGas,250
2
+ yt_dlp_utils/constants.py,sha256=SNzzxIkyJRsVopyLQJtYGlZT_znvYbPFOg6klw5KDdI,746
3
+ yt_dlp_utils/lib.py,sha256=lfgmLUp9DMho1CeKf0bysbSd__HdjH7hl9JYvrCw7aE,5195
4
+ yt_dlp_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ yt_dlp_utils-0.0.5.dist-info/LICENSE.txt,sha256=1z3v176A2bAtCVZXlb8HZXUf3HpQIjW2GanQd8PaVK4,1087
6
+ yt_dlp_utils-0.0.5.dist-info/METADATA,sha256=F79ZyeWlFMaizDYhrR4HcDJxRDQIShw1xr5Gfs0Q-4s,3967
7
+ yt_dlp_utils-0.0.5.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
8
+ yt_dlp_utils-0.0.5.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- yt_dlp_utils/__init__.py,sha256=GP6qBU0cuggloj55QKWxpXDVSl4J-mJkXfcG8VTLiZA,250
2
- yt_dlp_utils/constants.py,sha256=SNzzxIkyJRsVopyLQJtYGlZT_znvYbPFOg6klw5KDdI,746
3
- yt_dlp_utils/lib.py,sha256=YXCBTVccmLk619Hs5ygkbFZtBDVcAIw7y75JNY1auC4,5283
4
- yt_dlp_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- yt_dlp_utils-0.0.4.dist-info/LICENSE.txt,sha256=1z3v176A2bAtCVZXlb8HZXUf3HpQIjW2GanQd8PaVK4,1087
6
- yt_dlp_utils-0.0.4.dist-info/METADATA,sha256=7QFfocC5N76B11QL9skbkJQ-mdIvmLgA8goWskGm7q0,3967
7
- yt_dlp_utils-0.0.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
8
- yt_dlp_utils-0.0.4.dist-info/RECORD,,