-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
We should add support for flags in the makeEmbed function just like in makeSourcerer
With this we can filter out embeds based on their flags and the target, so the embeds incompatible with the target won't run
An example source that would benefit from this is warezcdn which has two embeds, warezcdnembedhls and warezcdnembedmp4, warezcdnembedmp4 doesn't has any restrictions hence it doesn't need to be proxied whilst warezcdnembedhls has referer checks hence it needs a proxied. So when the target is browser, only warezcdnembedmp4 should be checked for streams but currently it checks warezcdnembedhls too. We can filter out warezcdnembedhls if we can define flags in makeEmbed
Tasks:-
- add support for flags on
makeEmbed - filter out embeds before their run based on their flags
- add the appropriate flags on all the embeds
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels