I did not get to write the script (
I need to download from this gallery:
http://fotki.yandex.ru/users/babs71/album/206665/
original images like this:
http://img-fotki.yandex.ru/get/9510/51667439.3c3/0_e1470_150fdb73_orig
thumbnail image is:
http://img-fotki.yandex.ru/get/9510/51667439.3c3/0_e1470_150fdb73_S
This don't work:
Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","linkType":"xpath","linkExpr":"@src","action1":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_s","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig"}
Code: Select all
thumbsdown:{"version":7,"name":"fotki.yandex!","type":"regexp","subType":"thumbnail","thumbnailType":"img","thumbnailPattern":"http://img\\-fotki\\.yandex\\.ru/get/\\d+/[^/]+/[^/]+_S\\.(?:png|jpg)","linkType":"normal","action1":"http://img\\-fotki\\.yandex\\.ru/get/\\d+/[^/]+/[^/]+_S\\.(?:png|jpg)","action2":"http://img-fotki.yandex.ru/get/$1/$2/$3_orig.$4"}
Code: Select all
thumbsdown:{"version":7,"name":"img-fotki.yandex.ru_new5","type":"custom","thumbnailType":"img","linkType":"xpath","linkExpr":"@src","linkPattern":"http://img\\-fotki\\.yandex\\.ru/get/[.\\w]+?/[.\\w]+?/[.\\w]+?_S","action1":"switch%20(state)%20{\n%20%20case%200:\n%20%20%20%20LOAD(linkUrl.replace(\"_S\",%20\"_orig\"));\n%20%20case%201:\n%20%20%20%20var%20attrName%20=%20\"src\";\n%20%20%20%20var%20attrValuePattern%20=%20\"^http://img\\\\-fotki\\\\.yandex\\\\.ru/get/[.\\\\w]+?/[.\\\\w]+?/[.\\\\w]+?_s.+$\";\n%20%20%20%20var%20re%20=%20new%20RegExp(attrValuePattern);\n%20%20%20%20var%20images%20=%20document.images;\n%20%20%20%20for%20(var%20i%20=%200;%20i%20<%20images.length;%20i++)\n%20%20%20%20%20%20if%20(re.test(images[i][attrName]))\n%20%20%20%20%20%20%20%20RETURN(images[i].src);\n%20%20%20%20break;\n}"}
something I do not understand
Help me please