mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-28 23:19:27 +08:00
fix javlibrary genre route because some spans may not have class attr in individual pages (#14334)
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = {
|
||||
|
||||
content('.icn_edit, .btn_videoplayer, a[rel="bookmark"]').remove();
|
||||
content('span').each(function () {
|
||||
if (content(this).attr('class').startsWith('icn_')) {
|
||||
if (content(this).attr('class')?.startsWith('icn_')) {
|
||||
content(this).remove();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user