We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e56756 commit ed0c984Copy full SHA for ed0c984
src/plugins/bilibili/plugins/dynamic/__init__.py
@@ -174,13 +174,13 @@ async def render_screenshot(dynamic: Dynamic) -> bytes:
174
await page.wait_for_load_state("networkidle")
175
176
if "opus" in page.url:
177
- remove = ".opus-nav,.float-openapp,.openapp-dialog,.opus-read-more"
+ remove = ".opus-nav,.opus-float-btn,.openapp-dialog,.opus-read-more"
178
target = ".opus-modules"
179
await page.locator(".opus-module-content").evaluate(
180
"e => e.classList.remove('limit')"
181
)
182
elif "dynamic" in page.url:
183
- remove = ".m-navbar,.dynamic-float-openapp,.dyn-share"
+ remove = ".m-navbar,.dynamic-float-btn,.dyn-share"
184
target = ".dyn-card"
185
else:
186
remove = ""
0 commit comments