简悦 · 站点集市
Apple App Store 故事
{
    "name": "story.apple.com",
    "title": "<title>",
    "desc": "",
    "include": "[[{(()=>{let html='';$('.story__section').map((idx,item)=>{const $target=$(item);if($target.hasClass('story__textblock')){html+=$target[0].outerHTML}else if($target.hasClass('story__article-media')){const $source=$target.find('source:last'),srcset=$source.attr('srcset'),srcs=srcset?srcset.split(','):[];if(srcs.length>0){const idx=srcs.findIndex(item=>item.includes(' 2x'));if(idx>-1){const src=srcs[idx].replace(' 2x','').trim();html+=`<img src=\"${ src }\"/>`}}}else if($target.hasClass('we-product-collection')){const name=$target.find('.we-product-collection__item__product-name').text().trim(),desc=$target.find('.we-product-collection__item__category').text().trim(),href=$target.find('a[arial-label]').attr('href');html+=`<sr-apple-story><a href=\"${ href }\"targer=\"_blank\">${name}</a></sr-apple-story>`}});return'<p> </p>'+html})()}]]",
    "exclude": [
        "<sr-bad-empty>"
    ],
    "url": "https://apps.apple.com/*/story/id*",
    "avatar": [
        {
            "name": ""
        },
        {
            "url": ""
        }
    ],
    "paging": [
        {
            "prev": ""
        },
        {
            "next": ""
        }
    ],
    "css": "sr-apple-story {\n    display: block;\n    text-align: center;\n    width: 100%;\n    font-size: initial;\n    margin: 0 0 1.2em 0;\n}"
}
安装当前站点