mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-19 07:32:08 +00:00
Add CF_BLOCKED flags
This commit is contained in:
parent
7697c76721
commit
7a5cbb3428
2 changed files with 5 additions and 1 deletions
|
|
@ -5,6 +5,10 @@ export const flags = {
|
|||
// the stream is locked on IP, so only works if
|
||||
// request maker is same as player (not compatible with proxies)
|
||||
IP_LOCKED: 'ip-locked',
|
||||
|
||||
// The source/embed is blocking cloudflare ip's
|
||||
// This flag is not compatible with a proxy hosted on cloudflare
|
||||
CF_BLOCKED: 'cf-blocked',
|
||||
} as const;
|
||||
|
||||
export type Flags = (typeof flags)[keyof typeof flags];
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export const showboxScraper = makeSourcerer({
|
|||
id: 'showbox',
|
||||
name: 'Showbox',
|
||||
rank: 300,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
flags: [flags.CORS_ALLOWED, flags.CF_BLOCKED],
|
||||
scrapeShow: comboScraper,
|
||||
scrapeMovie: comboScraper,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue