Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"Displate":{"useimg":1,"link":"^displate\\.com/(?:(?:limited-edition/)?displate/\\d+|artist/[\\w-]+/.+)","url":":($[1]?'data:,':'')+$[0]","res":":\nlet sd, hd, g, t='', u='https://cdn.displate.com/artwork/', e='.jpg';\nif($[1]){\n $[1]='https://'+$[1];\n sd=$[1]+(Number($[2])>Number($[3])?'1208x863/':'863x1208/')+$[4];\n hd=$[1]+$[4];\n}else{\n $=$._.match(/\"__NEXT_DATA__\"[^>]+>({.+?})</);\n $=$&&JSON.parse($[1]).props?.pageProps;\n if(g=$?.data?.artworks)return g.map(i=>[['#'+u+i.imageCoreUrl+e, u+(i.orientation==='vertical'?'863x1208/':'1208x863/')+i.imageCoreUrl+e]]);\n if(g=$?.limitedEdition?.general?.images)return [...g.productImageCoreUrls, ...g.detailImageCoreUrls||[]].map(i=>['https://static.displate.com/1200x1200/limited/'+i+e]);\n $=$?.pdpGeneral?.product;\n t=$?.description;\n sd=u+($?.orientation==='vertical'?'863x1208/':'1208x863/')+$?.imageCoreUrl+e;\n hd=u+$?.imageCoreUrl+e;\n}\nreturn $ ? [[sd,t],[hd]] : ''","img":"^(cdn\\.displate\\.com/\\w+/)(?!392x280|280x392)(\\d+)x(\\d+)/(\\d{4}-\\d{2}-\\d{2}/[^?]+).*"}}
Advertisement
Add Comment
Please, Sign In to add comment