mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-06-19 21:17:45 +00:00
fix: proxy animetsu stream links
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -91,7 +91,9 @@ export const getStream = async function ({
|
||||
: source.url;
|
||||
streamLinks.push({
|
||||
server: `${server} (Sub): ${source.quality}`,
|
||||
link: sourceUrl,
|
||||
link:
|
||||
"https://m3u8.8man.workers.dev?url=" +
|
||||
encodeURIComponent(sourceUrl),
|
||||
type: "m3u8",
|
||||
quality: source.quality,
|
||||
headers: {
|
||||
@@ -160,7 +162,9 @@ export const getStream = async function ({
|
||||
: source.url;
|
||||
streamLinks.push({
|
||||
server: `${server} (Dub): ${source.quality}`,
|
||||
link: sourceUrl,
|
||||
link:
|
||||
"https://m3u8.8man.workers.dev?url=" +
|
||||
encodeURIComponent(sourceUrl),
|
||||
type: "m3u8",
|
||||
quality: source.quality,
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user