mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Fix LBRY stream extraction.
This commit is contained in:
parent
f66e77330e
commit
17dc0aa1ac
1 changed files with 1 additions and 1 deletions
|
@ -908,7 +908,7 @@ public class ResponseHelper {
|
||||||
.getJSONObject("data").getJSONObject("videos").optString(videoId);
|
.getJSONObject("data").getJSONObject("videos").optString(videoId);
|
||||||
|
|
||||||
if (!lbryId.isEmpty())
|
if (!lbryId.isEmpty())
|
||||||
new JSONObject(Constants.h2client.send(HttpRequest
|
return new JSONObject(Constants.h2client.send(HttpRequest
|
||||||
.newBuilder(URI.create("https://api.lbry.tv/api/v1/proxy?m=get"))
|
.newBuilder(URI.create("https://api.lbry.tv/api/v1/proxy?m=get"))
|
||||||
.POST(BodyPublishers.ofString(
|
.POST(BodyPublishers.ofString(
|
||||||
String.valueOf(new JSONObject().put("jsonrpc", "2.0").put("method", "get").put("params",
|
String.valueOf(new JSONObject().put("jsonrpc", "2.0").put("method", "get").put("params",
|
||||||
|
|
Loading…
Reference in a new issue