{"R_aliexpress.com":{"link":"(?:www\\.)?aliexpress\\.(ru|com)\\/item\\/\\d+\\.html","ci":1,"res":":\nvar i,t,re;\ni = $._.indexOf('<div class=\"Product_GalleryBar__bar__')\nif(i>-1) {\n t = $._.indexOf('</div></div></div></div>', i);\n re = /<img src=\"([^\"]+)_\\d+x\\d+\\.\\w{3,4}\"/gi\n}\nelse {\n i= $._.indexOf('\"imagePathList\":');\n if(i>-1) {\n t=$._.indexOf('\"summImagePathList\":',i);\n if(t==-1) { return null; }\n re=/\"(http[^\"]+)\"/gi\n }\n else {\n i= $._.indexOf('<div class=\"detailmodule_image\">');\n if (i==-1) {return null;}\n t=$._.indexOf('<div class=\"detailmodule_text\">',i);\n if(t==-1) { return null; }\n re=/<img src=\"([^\"]+)\"/gi\n }\n}\nvar b=$._.substring(i,t);\nvar res = []\nvar a = re.exec(b);\nif(!a) { console.log(\"no match R_aliexpress.com\"); return null;}\nwhile(a){\n\tres.push([a[1]]);\n\ta = re.exec( $._.substring(i,t) );\n}\nreturn res;\n","img":"^(ae\\d+\\.alicdn\\.com/\\w+/[^/]+/.+\\.jpg)_\\d+x\\d+\\.jpg$","to":"$1","note":"by Baton34V\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=48222&start=960#5\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=48222&start=2020#11\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=48222&start=3060#10\nhttp://forum.ru-board.com/topic.cgi?forum=5&topic=48222&start=3060#18\n\n\nПримеры:\nhttps://yojia.aliexpress.ru/store/207828\nhttps://sale.aliexpress.com/__pc/Labelvenue.htm\nhttps://yojia.aliexpress.ru/store/207828/search?SearchText=x96\nhttps://aliexpress.ru/category/202002130/kitchen-knives-accessories.html\nhttps://www.aliexpress.com/category/100004936/kitchen-knives-accessories.html"}} |