aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/atttechchannel.py
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2023-11-26 04:09:59 +0100
committerGitHub <noreply@github.com>2023-11-26 03:09:59 +0000
commit9751a457cfdb18bf99d9ee0d10e4e6a594502bbf (patch)
tree72d8f0b497ec27b3bfafc64194ec3882ee1c5a49 /yt_dlp/extractor/atttechchannel.py
parent5a230233d6fce06f4abd1fce0dc92b948e6f780b (diff)
[cleanup] Remove dead extractors (#8604)
Closes #1609, Closes #3232, Closes #4763, Closes #6026, Closes #6322, Closes #7912 Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/atttechchannel.py')
-rw-r--r--yt_dlp/extractor/atttechchannel.py53
1 files changed, 0 insertions, 53 deletions
diff --git a/yt_dlp/extractor/atttechchannel.py b/yt_dlp/extractor/atttechchannel.py
deleted file mode 100644
index 6ff4ec0ad..000000000
--- a/yt_dlp/extractor/atttechchannel.py
+++ /dev/null
@@ -1,53 +0,0 @@
-from .common import InfoExtractor
-from ..utils import unified_strdate
-
-
-class ATTTechChannelIE(InfoExtractor):
- _VALID_URL = r'https?://techchannel\.att\.com/play-video\.cfm/([^/]+/)*(?P<id>.+)'
- _TEST = {
- 'url': 'http://techchannel.att.com/play-video.cfm/2014/1/27/ATT-Archives-The-UNIX-System-Making-Computers-Easier-to-Use',
- 'info_dict': {
- 'id': '11316',
- 'display_id': 'ATT-Archives-The-UNIX-System-Making-Computers-Easier-to-Use',
- 'ext': 'flv',
- 'title': 'AT&T Archives : The UNIX System: Making Computers Easier to Use',
- 'description': 'A 1982 film about UNIX is the foundation for software in use around Bell Labs and AT&T.',
- 'thumbnail': r're:^https?://.*\.jpg$',
- 'upload_date': '20140127',
- },
- 'params': {
- # rtmp download
- 'skip_download': True,
- },
- }
-
- def _real_extract(self, url):
- display_id = self._match_id(url)
-
- webpage = self._download_webpage(url, display_id)
-
- video_url = self._search_regex(
- r"url\s*:\s*'(rtmp://[^']+)'",
- webpage, 'video URL')
-
- video_id = self._search_regex(
- r'mediaid\s*=\s*(\d+)',
- webpage, 'video id', fatal=False)
-
- title = self._og_search_title(webpage)
- description = self._og_search_description(webpage)
- thumbnail = self._og_search_thumbnail(webpage)
- upload_date = unified_strdate(self._search_regex(
- r'[Rr]elease\s+date:\s*(\d{1,2}/\d{1,2}/\d{4})',
- webpage, 'upload date', fatal=False), False)
-
- return {
- 'id': video_id,
- 'display_id': display_id,
- 'url': video_url,
- 'ext': 'flv',
- 'title': title,
- 'description': description,
- 'thumbnail': thumbnail,
- 'upload_date': upload_date,
- }