Skip to content

Commit

Permalink
[CI] auto update yt_dlp to upstream commit 35f9a306e6934793cff100200c…
Browse files Browse the repository at this point in the history
…d03f288ec33f11
  • Loading branch information
github-actions[bot] committed Sep 21, 2023
1 parent 908bcee commit 471ba3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/yt_dlp/compat/compat_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_package_info(module):
name=getattr(module, '_yt_dlp__identifier', module.__name__),
version=str(next(filter(None, (
getattr(module, attr, None)
for attr in ('__version__', 'version_string', 'version')
for attr in ('_yt_dlp__version', '__version__', 'version_string', 'version')
)), None)))


Expand Down
2 changes: 2 additions & 0 deletions lib/yt_dlp/dependencies/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@

try:
import sqlite3
# We need to get the underlying `sqlite` version, see https://github.com/yt-dlp/yt-dlp/issues/8152
sqlite3._yt_dlp__version = sqlite3.sqlite_version
except ImportError:
# although sqlite3 is part of the standard library, it is possible to compile python without
# sqlite support. See: https://github.com/yt-dlp/yt-dlp/issues/544
Expand Down
2 changes: 1 addition & 1 deletion lib/yt_dlp_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b532556d0a85e7d76f8f0880861232fb706ddbc5
35f9a306e6934793cff100200cd03f288ec33f11

0 comments on commit 471ba3b

Please sign in to comment.