This commit is contained in:
Flummi 2018-09-02 16:56:44 +02:00
parent 7f43bbbf25
commit 179936f493

View File

@ -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{16})\.(?:webm|png|jpg|mp4|webm)?)/gi; const regex = /(img|vid)\.pr0gramm\.com\/((?:\d+){4}\/(?:\d+){2}\/(?:\d+){2}\/(?:\w{0,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 => {