Merge pull request #552 from jk6589jk/patch-1

修复有置顶的up主B站动态获取失败
This commit is contained in:
HibiKier 2022-05-23 19:45:59 +08:00 committed by GitHub
commit 49b9bd65b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
"""
)