<img referrerpolicy="no-referrer" src="" loading="lazy" alt="加载中......" style="width: 100%"> <script type="text/javascript"> RLQ.push([["jquery"],function(){ $("div[class='bilibilipic'][data-loaded='false']").each( function(){
let img = $(this).children("img"); let id = $(this).attr("data-id"); id = isNaN(id) ? "?bvid=" + id : "?aid=" + id; let aja = $.ajax({ type: "get", url: 'https://api.bilibili.com/x/web-interface/view'+id+"&jsonp=jsonp", dataType: "jsonp", cache: true, success: function (data,status) { let pic = data.code == 0 ? data.data.pic : '/images/4/49/Help_outline.svg'; img.attr("src",pic.replace("http://", "https://")); } }); $(this).attr("data-loaded", "true"); });
}]); </script>