|
|
@ -3929,9 +3929,10 @@ class YoutubeDL:
|
|
|
|
|
|
|
|
|
|
|
|
# These imports can be slow. So import them only as needed
|
|
|
|
# These imports can be slow. So import them only as needed
|
|
|
|
from .extractor.extractors import _LAZY_LOADER
|
|
|
|
from .extractor.extractors import _LAZY_LOADER
|
|
|
|
from .extractor.extractors import _PLUGIN_CLASSES as plugin_ies
|
|
|
|
from .extractor.extractors import (
|
|
|
|
from .extractor.extractors import \
|
|
|
|
_PLUGIN_CLASSES as plugin_ies,
|
|
|
|
_PLUGIN_OVERRIDES as plugin_ie_overrides
|
|
|
|
_PLUGIN_OVERRIDES as plugin_ie_overrides
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
def get_encoding(stream):
|
|
|
|
def get_encoding(stream):
|
|
|
|
ret = str(getattr(stream, 'encoding', 'missing (%s)' % type(stream).__name__))
|
|
|
|
ret = str(getattr(stream, 'encoding', 'missing (%s)' % type(stream).__name__))
|
|
|
|