mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-02-22 16:36:54 +00:00
[ie] Add browser impersonation support to more extractors (#16029)
Closes #7001, Closes #7444, Closes #16004 Authored by: bashonly
This commit is contained in:
@@ -51,7 +51,8 @@ class TruthIE(InfoExtractor):
|
||||
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_id(url)
|
||||
status = self._download_json(f'https://truthsocial.com/api/v1/statuses/{video_id}', video_id)
|
||||
status = self._download_json(
|
||||
f'https://truthsocial.com/api/v1/statuses/{video_id}', video_id, impersonate=True)
|
||||
uploader_id = strip_or_none(traverse_obj(status, ('account', 'username')))
|
||||
return {
|
||||
'id': video_id,
|
||||
|
||||
Reference in New Issue
Block a user