diff options
Diffstat (limited to 'youtube_dlc/extractor/twitter.py')
-rw-r--r-- | youtube_dlc/extractor/twitter.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/twitter.py b/youtube_dlc/extractor/twitter.py index 4284487db..8c35e285c 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 |