[nbc] Remove CSNNE extractor
authorRemita Amine <remitamine@gmail.com>
Tue, 29 Dec 2020 16:21:05 +0000 (17:21 +0100)
committerRemita Amine <remitamine@gmail.com>
Tue, 29 Dec 2020 16:21:05 +0000 (17:21 +0100)
youtube_dl/extractor/extractors.py
youtube_dl/extractor/nbc.py

index 20472f2f7a1a2c02e881ab7551a8c1cab79f51ab..51e6a463a35b4801af52e7ba3af8eeda990d7223 100644 (file)
@@ -692,7 +692,6 @@ from .nba import (
     NBAChannelIE,
 )
 from .nbc import (
-    CSNNEIE,
     NBCIE,
     NBCNewsIE,
     NBCOlympicsIE,
index 9695a9616de4f108afbfd4cec102ad561028f856..0d77648c2d3748d8d2814cf1ad8c7dae2d4e2393 100644 (file)
@@ -286,33 +286,6 @@ class NBCSportsStreamIE(AdobePassIE):
         }
 
 
-class CSNNEIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?csnne\.com/video/(?P<id>[0-9a-z-]+)'
-
-    _TEST = {
-        'url': 'http://www.csnne.com/video/snc-evening-update-wright-named-red-sox-no-5-starter',
-        'info_dict': {
-            'id': 'yvBLLUgQ8WU0',
-            'ext': 'mp4',
-            'title': 'SNC evening update: Wright named Red Sox\' No. 5 starter.',
-            'description': 'md5:1753cfee40d9352b19b4c9b3e589b9e3',
-            'timestamp': 1459369979,
-            'upload_date': '20160330',
-            'uploader': 'NBCU-SPORTS',
-        }
-    }
-
-    def _real_extract(self, url):
-        display_id = self._match_id(url)
-        webpage = self._download_webpage(url, display_id)
-        return {
-            '_type': 'url_transparent',
-            'ie_key': 'ThePlatform',
-            'url': self._html_search_meta('twitter:player:stream', webpage),
-            'display_id': display_id,
-        }
-
-
 class NBCNewsIE(ThePlatformIE):
     _VALID_URL = r'(?x)https?://(?:www\.)?(?:nbcnews|today|msnbc)\.com/([^/]+/)*(?:.*-)?(?P<id>[^/?]+)'