From a5b7985747c81c5ad4868d6a9b19fd3e05b06b5a Mon Sep 17 00:00:00 2001 From: Sergey M Date: Sat, 23 Sep 2017 06:36:49 +0700 Subject: [PATCH] Update twitter.py --- youtube_dl/extractor/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/twitter.py b/youtube_dl/extractor/twitter.py index 6ecf7e2b1..0df3ad7c7 100644 --- a/youtube_dl/extractor/twitter.py +++ b/youtube_dl/extractor/twitter.py @@ -396,7 +396,7 @@ class TwitterIE(InfoExtractor): twid = mobj.group('id') webpage, urlh = self._download_webpage_handle( - self._TEMPLATE_STATUSES_URL % (twid), twid) + self._TEMPLATE_STATUSES_URL % twid, twid) if 'twitter.com/account/suspended' in urlh.geturl(): raise ExtractorError('Account suspended by Twitter.', expected=True)