You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
We should add support for flags in the
makeEmbed
function just like inmakeSourcerer
With this we can filter out embeds based on their flags and the
target
, so the embeds incompatible with the target won't runAn example source that would benefit from this is warezcdn which has two embeds,
warezcdnembedhls
andwarezcdnembedmp4
,warezcdnembedmp4
doesn't has any restrictions hence it doesn't need to be proxied whilstwarezcdnembedhls
has referer checks hence it needs a proxied. So when the target isbrowser
, onlywarezcdnembedmp4
should be checked for streams but currently it checkswarezcdnembedhls
too. We can filter outwarezcdnembedhls
if we can define flags inmakeEmbed
Tasks:-
makeEmbed
The text was updated successfully, but these errors were encountered: