mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
Add CF_BLOCKED flags
This commit is contained in:
@@ -5,6 +5,10 @@ export const flags = {
|
|||||||
// the stream is locked on IP, so only works if
|
// the stream is locked on IP, so only works if
|
||||||
// request maker is same as player (not compatible with proxies)
|
// request maker is same as player (not compatible with proxies)
|
||||||
IP_LOCKED: 'ip-locked',
|
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;
|
} as const;
|
||||||
|
|
||||||
export type Flags = (typeof flags)[keyof typeof flags];
|
export type Flags = (typeof flags)[keyof typeof flags];
|
||||||
|
@@ -42,7 +42,7 @@ export const showboxScraper = makeSourcerer({
|
|||||||
id: 'showbox',
|
id: 'showbox',
|
||||||
name: 'Showbox',
|
name: 'Showbox',
|
||||||
rank: 300,
|
rank: 300,
|
||||||
flags: [flags.CORS_ALLOWED],
|
flags: [flags.CORS_ALLOWED, flags.CF_BLOCKED],
|
||||||
scrapeShow: comboScraper,
|
scrapeShow: comboScraper,
|
||||||
scrapeMovie: comboScraper,
|
scrapeMovie: comboScraper,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user