Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"Coomer|Kemono|Nekohouse-x-q-p":{"link":"^((?:beta\\.)?((?:kemono|coomer|nekohouse)\\.(?:party|su))/)([^/]+/user/[^/]+/post/\\w+).*","url":": $[2][0]!=='n' ? `//${$[1]}api/v1/${$[3]}` : $[0]","res":":\nconst low_resolution_first = false\n\nif($[2][0]==='n'){\nconst t=$._.match(/\"post__content\">\\n<pre>(.+?)<\\/pre>/s)?.[1]||'';\nconst m=[...$._.matchAll(/(?:class=\"fileThumb\"[^\\w]+href|src(?==\"[^>]+type=\"video\\/[^\"]{3,4}\"))=\"([^\"]+)\"(?:[^>]+>[^>]+src=\"([^\"]+))?/g)].map((i,n)=>[[(!low_resolution_first?'#':'')+i[1]?.replace(/^\\/[^\\/]/,'//'+$[1]+'$&'),(!low_resolution_first?'':'#')+i[2]?.replace(/^\\/[^\\/]/,'//'+$[1]+'$&')],!n?t:'']);\nthis.CNT.filename=$._.match(/href=\"\\/[^\\/]+\\/user\\/\\d+\">\\n\\s+(\\S+)/s)?.[1]+'_'+m[0]?.[0]?.[0].match(/([\\w-]+)\\.[^\\/]+$/)[1];\nreturn m\n}\nlet res=[];\nconst img = m => {\nconst l=low_resolution_first, i=Math.ceil(Math.random()*4), u='//n'+i+'.'+$[2]+'/data'+m;\nreturn /\\.mp4/.test(m) ? u : [(l?'':'#')+u,(l?'#':'')+'//img.'+$[2]+'/thumbnail/data'+m];\n}\n$._=JSON.parse($._).post;\nif($._.file.path)res.push([img($._.file.path)]);\n$._.attachments?.forEach(i=>res.push([img(i.path)]));\nif(res[0])res[0][1]=[new Date($._.added).toLocaleString(),$._.content||'',$._.tags&&'Tags:['+$._.tags?.join(', ')+']'].filter(Boolean).join(' | ');\n[...$._.content?.matchAll(/ src=\"([^\"]+)/g)||[]].forEach(i=>res.push([i[1],$._.content.replace(/<[^>]+>/g,' ')]));\nlet n=document.querySelector('span[itemprop=\"name\"]')?.textContent;\nif(!n){\ntry{\nconst x=new XMLHttpRequest();\nx.open('GET',`https://${$[2]}/api/v1/${$._.service}/user/${$._.user}/profile`,false);\nx.send();\nn=JSON.parse(x.responseText).name;\n}catch(e){}\n}\nthis.CNT.filename=(n||$._.user).replace(/[^\\w.-]/g,'_')+'_'+(res[0]?.[0]?.[0]?.match(/([\\w-]+)\\.[^\\/]+$/)?.[1]||res[0]?.[0]?.match(/([\\w-]+)\\.[^\\/]+$/)?.[1]);\nreturn res","img":"^(img\\.)?((?:coomer|kemono|nekohouse)\\.(?:party|su))/thumbnail","to":":\nreturn $[1] ? '//n'+Math.ceil(Math.random()*4)+'.'+$[2] : $[2]","note":"imqswt\nhttps://www.reddit.com/r/imagus/comments/1ikpyif/comment/mbtfvjj\nOLD\nhttps://www.reddit.com/r/imagus/comments/z0zyox/comment/m6qdtaz\nhttps://www.reddit.com/r/imagus/comments/1f77tlc/comment/lndtmpi\n\n\n\n!!!\nВ фильтре есть возможность установить средний размер загружаемых картинок (для быстрой загрузки):\nconst low_resolution_first = true\nа также переключаться между средним/высоким размером (клавишей TAB);\n==\nIn the sieve there is an option to set the average size of uploaded images (for fast loading):\nconst low_resolution_first = true\nand also to switch between medium/high resolution (with TAB key);\n\n\nEXAMPLES\nhttps://kemono.su/fanbox/user/16051830?o=100\nhttps://kemono.su/patreon/user/3161935\nhttps://coomer.su/onlyfans/user/twinhentai\nhttps://nekohouse.su/fantia/user/32900\nhttps://www.reddit.com/domain/coomer.su/new\nhttps://www.reddit.com/domain/kemono.su/new"}}
Add Comment
Please, Sign In to add comment