mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 06:27:06 +01:00
Update yt_dlp/extractor/twitter.py
This commit is contained in:
parent
eaa442d976
commit
538c6750cf
@ -1229,6 +1229,7 @@ def _extract_status(self, twid):
|
||||
raise
|
||||
self.report_warning(
|
||||
f'{e.orig_msg}. Falling back to syndication endpoint; some metadata may be missing', twid)
|
||||
|
||||
status = self._download_json(
|
||||
'https://cdn.syndication.twimg.com/tweet-result', twid, 'Downloading syndication JSON',
|
||||
headers={'User-Agent': 'Googlebot'}, query={'id': twid})
|
||||
|
Loading…
Reference in New Issue
Block a user