mirror of
https://github.com/p-stream/providers.git
synced 2026-05-12 10:41:12 +00:00
20 lines
473 B
TypeScript
20 lines
473 B
TypeScript
import { makeEmbed } from '@/providers/base';
|
|
|
|
import { upcloudScraper } from './upcloud';
|
|
|
|
export const vidCloudScraper = makeEmbed({
|
|
id: 'vidcloud',
|
|
name: 'VidCloud',
|
|
rank: 201,
|
|
disabled: true,
|
|
async scrape(ctx) {
|
|
// Both vidcloud and upcloud have the same embed domain (rabbitstream.net)
|
|
const result = await upcloudScraper.scrape(ctx);
|
|
return {
|
|
stream: result.stream.map((s) => ({
|
|
...s,
|
|
flags: [],
|
|
})),
|
|
};
|
|
},
|
|
});
|