[cleanup] Remove dead extractors (#16137)

Closes #2623
Closes #2679
Closes #2821
Closes #3416
Closes #4828
Closes #4939
Closes #5421
Closes #7064
Closes #7264
Closes #7654
Closes #8075
Closes #8798
Closes #9313
Closes #9617
Closes #10162
Closes #10252
Closes #10264
Closes #15640

Authored by: doe1080, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
doe1080
2026-06-09 22:35:57 +00:00
committed by GitHub
co-authored by bashonly
parent e85da3b985
commit 3ba1534fa3
96 changed files with 39 additions and 10739 deletions
+6 -10
View File
@@ -1,7 +1,7 @@
import base64
import urllib.parse
from .bokecc import BokeCCBaseIE
from .common import InfoExtractor
from ..utils import (
ExtractorError,
determine_ext,
@@ -10,7 +10,7 @@ from ..utils import (
)
class InfoQIE(BokeCCBaseIE):
class InfoQIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?infoq\.com/(?:[^/]+/)+(?P<id>[^/]+)'
_TESTS = [{
@@ -117,14 +117,10 @@ class InfoQIE(BokeCCBaseIE):
video_title = self._html_extract_title(webpage)
video_description = self._html_search_meta('description', webpage, 'description')
if '/cn/' in url:
# for China videos, HTTP video URL exists but always fails with 403
formats = self._extract_bokecc_formats(webpage, video_id)
else:
formats = (
self._extract_rtmp_video(webpage)
+ self._extract_http_video(webpage)
+ self._extract_http_audio(webpage, video_id))
formats = (
self._extract_rtmp_video(webpage)
+ self._extract_http_video(webpage)
+ self._extract_http_audio(webpage, video_id))
return {
'id': video_id,