From f33b7b5eb454ab182a3c8740875274469f5c3e0b Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 13 Oct 2020 02:03:48 +0200 Subject: [PATCH] [Twitter/t.co] showcase expanded how to use generic --- youtube_dlc/extractor/twitter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dlc/extractor/twitter.py b/youtube_dlc/extractor/twitter.py index 8c35e285c..78d8ebdd5 100644 --- a/youtube_dlc/extractor/twitter.py +++ b/youtube_dlc/extractor/twitter.py @@ -615,4 +615,5 @@ class TwitterShortenerIE(TwitterBaseIE): _VALID_URL = r'https?://t.co/' def _real_extract(self, url): - print(url) \ No newline at end of file + print(url) + return self.url_result(url, 'Generic') \ No newline at end of file