1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-10 02:05:18 +00:00

[cleanup] Misc

Closes #5471, Closes #5312

Authored by: pukkandan, Alienmaster
This commit is contained in:
Robert Geislinger
2022-11-11 08:43:08 +05:30
committed by pukkandan
parent 8522226d2f
commit 7aaf4cd2a8
8 changed files with 19 additions and 19 deletions

View File

@@ -9,6 +9,7 @@ from ..utils import (
class SlidesLiveIE(InfoExtractor):
_VALID_URL = r'https?://slideslive\.com/(?P<id>[0-9]+)'
_WORKING = False
_TESTS = [{
# video_service_name = YOUTUBE
'url': 'https://slideslive.com/38902413/gcc-ia16-backend',

View File

@@ -21,7 +21,7 @@ class TestURLIE(InfoExtractor):
matching_extractors = [e for e in gen_extractor_classes() if rex.search(e.IE_NAME)]
if len(matching_extractors) == 0:
raise ExtractorError('No extractors matching {extractor_id!r} found', expected=True)
raise ExtractorError(f'No extractors matching {extractor_id!r} found', expected=True)
elif len(matching_extractors) > 1:
try: # Check for exact match
extractor = next(