mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 10:33:25 +00:00
add cors restriction to caption, add preferredHeaders
This commit is contained in:
@@ -32,7 +32,7 @@ export const closeLoadScraper = makeEmbed({
|
||||
return {
|
||||
id: url,
|
||||
language,
|
||||
hasCorsRestrictions: false,
|
||||
hasCorsRestrictions: true,
|
||||
type: captionType,
|
||||
url,
|
||||
};
|
||||
@@ -60,6 +60,10 @@ export const closeLoadScraper = makeEmbed({
|
||||
playlist: url,
|
||||
captions,
|
||||
flags: [flags.IP_LOCKED],
|
||||
preferredHeaders: {
|
||||
Referer: 'https://closeload.top/',
|
||||
Origin: 'https://closeload.top',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user