mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix: update hubdrive button selector in getStream function and bump version to 1.6 in manifest.json
This commit is contained in:
2
dist/hdhub4u/stream.js
vendored
2
dist/hdhub4u/stream.js
vendored
File diff suppressed because one or more lines are too long
@@ -170,7 +170,7 @@
|
|||||||
{
|
{
|
||||||
"display_name": "HdHub4u",
|
"display_name": "HdHub4u",
|
||||||
"value": "hdhub4u",
|
"value": "hdhub4u",
|
||||||
"version": "1.5",
|
"version": "1.6",
|
||||||
"icon": "",
|
"icon": "",
|
||||||
"type": "global",
|
"type": "global",
|
||||||
"disabled": false
|
"disabled": false
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export async function getStream({
|
|||||||
const hubdriveText = hubdriveRes.data;
|
const hubdriveText = hubdriveRes.data;
|
||||||
const $$ = cheerio.load(hubdriveText);
|
const $$ = cheerio.load(hubdriveText);
|
||||||
hubdriveLink =
|
hubdriveLink =
|
||||||
$$(".btn.btn-primary.btn-user").attr("href") || hubdriveLink;
|
$$(".btn.btn-primary.btn-user.btn-success1").attr("href") || "";
|
||||||
}
|
}
|
||||||
console.log("hubdriveLink2", hubdriveLink);
|
console.log("hubdriveLink2", hubdriveLink);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user