mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-31 23:02:40 +00:00
[lbry/odysee] change host for api to fix "HTTPError 405: 'Method Not Allowed'"
Signed-off-by: Slava <slash@i-slash.com>
This commit is contained in:
parent
ed027fd9d8
commit
e89457953e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def _call_api_proxy(self, method, display_id, params, resource):
|
|||
if token:
|
||||
headers['x-lbry-auth-token'] = token
|
||||
response = self._download_json(
|
||||
'https://api.lbry.tv/api/v1/proxy',
|
||||
'https://api.na-backend.odysee.com/api/v1/proxy',
|
||||
display_id, 'Downloading %s JSON metadata' % resource,
|
||||
headers=headers,
|
||||
data=json.dumps({
|
||||
|
|
Loading…
Reference in a new issue