mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: t66y 图片不显示的问题 (#4379)
This commit is contained in:
@@ -71,12 +71,12 @@ module.exports = async (ctx) => {
|
||||
// Handle img tag
|
||||
let images = $('img');
|
||||
for (let k = 0; k < images.length; k++) {
|
||||
$(images[k]).replaceWith(`<img src="${$(images[k]).attr('data-src')}" />`);
|
||||
$(images[k]).replaceWith(`<img src="${$(images[k]).attr('ess-data')}" />`);
|
||||
}
|
||||
// Handle input tag
|
||||
images = $('input');
|
||||
for (let k = 0; k < images.length; k++) {
|
||||
$(images[k]).replaceWith(`<img src="${$(images[k]).attr('data-src')}" />`);
|
||||
$(images[k]).replaceWith(`<img src="${$(images[k]).attr('ess-data')}" />`);
|
||||
}
|
||||
|
||||
// Handle links
|
||||
|
||||
Reference in New Issue
Block a user