fix regex
This commit is contained in:
parent
5fe6240d7e
commit
58ca2fed61
@ -14,7 +14,7 @@ const flags = {
|
|||||||
4: "nsfl",
|
4: "nsfl",
|
||||||
8: "nsfp"
|
8: "nsfp"
|
||||||
};
|
};
|
||||||
const regex = /(img|vid)\.pr0gramm\.com\/((?:\d+){4}\/(?:\d+){2}\/(?:\d+){2}\/(?:\w{0,20})\.(?:webm|png|jpg|mp4|webm)?)/gi;
|
const regex = /(img|vid)\.pr0gramm\.com\/((?:\d+){4}\/(?:\d+){2}(\/(?:\d+){2})?\/(?:\w{1,20})\.(?:webm|png|jpg|mp4|webm)?)/gi;
|
||||||
const site = "https://pr0gramm.com/new/";
|
const site = "https://pr0gramm.com/new/";
|
||||||
|
|
||||||
export default bot => {
|
export default bot => {
|
||||||
|
Loading…
Reference in New Issue
Block a user