[ie] Add browser impersonation support to more extractors (#16029)
Closes #7001, Closes #7444, Closes #16004 Authored by: bashonly
This commit is contained in:
parent
1fe0bf23aa
commit
1d1358d09f
3 changed files with 4 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue