1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-04 13:14:57 -04:00

[extractor] Use classmethod/property where possible

and refactor lazy extractors accordingly.

This reduces the need to create extractor instances
This commit is contained in:
pukkandan
2022-05-11 21:24:44 +05:30
parent 7ddbf09c25
commit 82d020804d
11 changed files with 188 additions and 167 deletions

View File

@@ -18,6 +18,7 @@ from ..utils import (
url_or_none,
)
class DRTVIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://