0
0
Fork 0
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:
Slava 2022-11-18 20:06:14 +06:00
parent ed027fd9d8
commit e89457953e

View file

@ -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({