mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 16:30:29 +05:30
Fix LBRY stream extraction.
This commit is contained in:
parent
f66e77330e
commit
17dc0aa1ac
@ -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…
x
Reference in New Issue
Block a user