aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-05-11 21:24:44 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-05-13 00:23:26 +0530
commit82d020804de938bb7e87bd6bbc4961757b892cd0 (patch)
tree6ef8184da2e2ebe93ea235df8d92b644470e8690 /yt_dlp/utils.py
parent7ddbf09c2570d79baed8154e07ff7ee404ccc17c (diff)
downloadhypervideo-pre-82d020804de938bb7e87bd6bbc4961757b892cd0.tar.lz
hypervideo-pre-82d020804de938bb7e87bd6bbc4961757b892cd0.tar.xz
hypervideo-pre-82d020804de938bb7e87bd6bbc4961757b892cd0.zip
[extractor] Use classmethod/property where possible
and refactor lazy extractors accordingly. This reduces the need to create extractor instances
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index ba73c2191..82eb30af6 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -5321,6 +5321,7 @@ def merge_headers(*dicts):
class classproperty:
def __init__(self, f):
+ functools.update_wrapper(self, f)
self.f = f
def __get__(self, _, cls):