Advertisement
Guest User

Untitled

a guest
Sep 17th, 2024
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. Yandex is working for me on Edge. Based on your error message, it's possible you got a captcha page instead of the product page. Is it working correctly now?
  2.  
  3. {"Auchan.ru":{"link":"^auchan\\.ru/product/[\\w-]+/","res":":\n$=JSON.parse($._.match(/\"product\":{\"product\":({.+?}),\"loading\"/)?.[1]||$._.match(/window.__INITIAL_STATE__\\s*=\\s*([^\\n]+)/)?.[1]||'{}');\nif(!$.mediaUrls)$=$.product?.product;\nreturn $.mediaUrls?.map((i,n)=>[i,!n?[$.title,$.description?.content].join(\" | \"):''])","img":"^auchan\\.ru/f/c/insecure/w:\\d+/plain/(https://www\\.auchan\\.ru/files/original/\\d+).*","to":"$1","note":"Baton34V\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=48222&start=3040#9\n\nПРИМЕРЫ\nhttps://www.auchan.ru/catalog/hlebnaya-vypechka/\nhttps://www.auchan.ru/catalog/zootovary/"},"BestBlades.ru":{"link":"^(bestblades\\.ru)/[\\w-]+/[\\w-]+/[\\w-]+/([\\w-]+)?","res":":\nreturn [...$._.matchAll(/<a href=\"([^\"]+)\" class=\"p-images__slider-item\"/g)].map(i=>['//'+$[1]+i[1]])","note":"destiny child\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=50874&start=1600#15\nOLD\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=48222&start=3660#3\n\nПРИМЕРЫ\nhttps://bestblades.ru/brendi/adimanti/\nhttps://bestblades.ru/designers/eric-ochs/\nhttps://bestblades.ru/kuhonnye-nozhi/universalnye-kukhonnye-ru/"},"Drom.ru":{"link":"^(\\w+)\\.drom\\.ru/.+/.+/(?:[^-]+-)*\\d+\\.html","res":":\nif($[1]==='moto'){\n$=JSON.parse($._.match(/<script type=\"application\\/ld\\+json\">([^<]+\"image\"[^<]+)<\\//s)?.[1]||'{}');\nreturn $.image.map((i,n)=>[i.replace('bulletin','default'),!n?[$.name,$.description].filter(Boolean).join(\" | \"):'']);\n}\nreturn [...new DOMParser().parseFromString($._,\"text/html\").querySelectorAll('[data-ftid=\"bull-page_bull-gallery_thumbnails\"] a')].map(i=>[i.href]);","img":"^(static\\.baza\\.drom\\.ru/drom/\\d+_)bulletin","to":"$1default","note":"hababr\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=50874&start=2120#8\nOLD\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=50874&start=160#17\n\nПРИМЕРЫ\nhttps://auto.drom.ru/mercedes-benz/\nhttps://uryupinsk.drom.ru/auto/\nhttps://baza.drom.ru/sankt-peterburg/wheel/\nhttps://moto.drom.ru/sankt-peterburg/atv/"},"Etsy-p":{"link":"^etsy\\.com/listing/\\d+","res":":\nconst use_sidebar = true // True shows sidebar with product description\n\nconst imgs=JSON.parse($._.match(/<script type=\"application\\/ld\\+json\">({.+?})</)[1]), vid=JSON.parse($._.match(/<script type=\"application\\/ld\\+json\">({\"@type\":\"Video.+?})</)?.[1]||'{}'), t=imgs.description;\n$=imgs.image?.map((i,n)=>[i.contentURL,!n?t:''])||[];\nif(vid?.contentURL)$.push([vid?.contentURL]);\nif(use_sidebar){\n$[0][1]=`<imagus-extension type=\"sidebar\">${t.replace(/\\n{3,}/g,'\\n\\n')}</imagus-extension>`;\nthis.TRG.IMGS_ext_data=$;\nreturn {loop:'imagus://extension'}\n}\nreturn $","img":"^(i(?:mg\\d*)?\\.etsystatic\\.com/[^_]*/i[^_]+_)\\d+x[\\dN]+","to":"$1fullxfull","note":"EXAMPLES\nhttps://www.etsy.com/c/home-and-living/furniture/bedroom-furniture?ref=catnav-891\nhttps://www.etsy.com/search?q=handmade+clothing&mosv=sese&moci=1069619756788"},"Flipkart-p":{"link":"^flipkart\\.com/.+\\?pid.+","res":":\nconst img = (m,n) => 'https'+m.value.url?.match(/:[^?]+/)[0]?.replace('rukmini1','rukminim2').replace('{@width}/{@height}',`${n}/${n}`);\n$=JSON.parse($._.match(/window\\.__INITIAL_STATE__\\s*=\\s*({.+?});<\\//)[1]);\nthis.TRG.IMGS_ext_data=$.pageDataV4.page.data['10001'][0].widget.data.multimediaComponents.map(i=>i.value.contentType==='VIDEO' ? ['',`<imagus-extension type=\"iframe\" url=\"${i.value.url}\"></imagus-extension>`] : [['#'+img(i,2000),img(i,1024)]]);\nreturn {loop:'imagus://extension'}","img":"^(rukminim\\d\\.flixcart\\.com/[^/]+/)\\d+/\\d+([^?]+).*","to":"#$12000/2000$2\n$11024/1024$2","note":"Baton34V\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=50874&start=1480#4\n\n!!!\nКурсор наводить на наименование товара.\n==\nHover the cursor over the product name.\n\nEXAMPLES\nhttps://www.flipkart.com/search?q=mobiles&as=on&as-show=on"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement