Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions extract-wos-article.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ async def main_extract(url: str, debug: bool = False, proxy_server: str = ""):
await page.goto(url, wait_until="networkidle")

await page.click("#onetrust-accept-btn-handler")
await page.click(".closeButton")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrshu button does not contain id attr

await page.click("#pendo-button-59b176ac")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JMatej Is this guaranteed to be there at all times? If so, this surely makes sense 🙂


outputs = {}

Expand Down