mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
修复B站动态获取失败
bili-dyn-item__tag的父项的父项才是完整的一条置顶动态
This commit is contained in:
parent
c79e3fdcf0
commit
b3fdb1ff58
@ -330,7 +330,7 @@ async def get_user_dynamic(
|
||||
"""
|
||||
xs = document.getElementsByClassName('bili-dyn-item__tag');
|
||||
for (x of xs) {
|
||||
x.parentNode.remove();
|
||||
x.parentNode.parentNode.remove();
|
||||
}
|
||||
"""
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user