diff options
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index a5c2d10ef..c0d9c6f79 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -5707,6 +5707,11 @@ class RetryManager: time.sleep(delay) +def make_archive_id(ie, video_id): + ie_key = ie if isinstance(ie, str) else ie.ie_key() + return f'{ie_key.lower()} {video_id}' + + # Deprecated has_certifi = bool(certifi) has_websockets = bool(websockets) |