A feature-rich command-line audio/video downloader
[Twitter/t.co] simple extractor added. modification needed.
Unknown86b868c6a52a
diff --git a/youtube_dlc/extractor/extractors.py b/youtube_dlc/extractor/extractors.pyindex f0860e04dc..d31edd7c87 100644--- a/youtube_dlc/extractor/extractors.py+++ b/youtube_dlc/extractor/extractors.py@@ -1268,6 +1268,7 @@ from .twitter import (TwitterIE,TwitterAmplifyIE,TwitterBroadcastIE,+ TwitterShortenerIE,)from .udemy import (UdemyIE,diff --git a/youtube_dlc/extractor/twitter.py b/youtube_dlc/extractor/twitter.pyindex 4284487db4..8c35e285cf 100644--- a/youtube_dlc/extractor/twitter.py+++ b/youtube_dlc/extractor/twitter.py@@ -608,3 +608,11 @@ class TwitterBroadcastIE(TwitterBaseIE, PeriscopeBaseIE):info['formats'] = self._extract_pscp_m3u8_formats(m3u8_url, broadcast_id, m3u8_id, state, width, height)return info+++class TwitterShortenerIE(TwitterBaseIE):+ IE_NAME = 'twitter:shortener'+ _VALID_URL = r'https?://t.co/'++ def _real_extract(self, url):+ print(url)\ No newline at end of file