diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-17 19:39:28 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-17 19:46:01 +0530 |
commit | 5792c950bfd9f8b6730659b3046b41c1aea64c98 (patch) | |
tree | 73e86196fef2070260eefc43ed053741af13a9f4 /yt_dlp/postprocessor/embedthumbnail.py | |
parent | 7a96d0b39c34c6c8c42cc6aaac90dd8d0f5a51d7 (diff) | |
download | hypervideo-pre-5792c950bfd9f8b6730659b3046b41c1aea64c98.tar.lz hypervideo-pre-5792c950bfd9f8b6730659b3046b41c1aea64c98.tar.xz hypervideo-pre-5792c950bfd9f8b6730659b3046b41c1aea64c98.zip |
[compat] Implement `compat.imghdr`
Python 3.11 deprecates `imghdr` module
Diffstat (limited to 'yt_dlp/postprocessor/embedthumbnail.py')
-rw-r--r-- | yt_dlp/postprocessor/embedthumbnail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/embedthumbnail.py b/yt_dlp/postprocessor/embedthumbnail.py index d36e0008e..e031d344f 100644 --- a/yt_dlp/postprocessor/embedthumbnail.py +++ b/yt_dlp/postprocessor/embedthumbnail.py @@ -1,11 +1,11 @@ import base64 -import imghdr import os import re import subprocess from .common import PostProcessor from .ffmpeg import FFmpegPostProcessor, FFmpegThumbnailsConvertorPP +from ..compat import imghdr from ..dependencies import mutagen from ..utils import ( Popen, |