A control parameter such as "If the following is included in the links" might be nice.
I'm thinking of using this to scan for .m3u8 ones in a repo where your livestream connections are listed. Similarly, some repos may only check images. Ex. .jpg, .png, .gif etc.
It wouldn't be bad to say containing here and check it as regex. or , and its extension can be added as a parameter.