-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing fails on PDF citations and empty results #116
Comments
How is NavigableString defined? Thank you for the fix! |
How is NavigableString defined?
it needs to be imported from bs4 (BeautifulSoup library).
…________________________________
From: GianniSalami <notifications@github.com>
Sent: 18 December 2018 10:26
To: ckreibich/scholar.py
Cc: Seattle BioMed; Author
Subject: Re: [ckreibich/scholar.py] Parsing fails on PDF citations and empty results (#116)
How is NavigableString defined? Thank you for the fix!
-
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ckreibich_scholar.py_issues_116-23issuecomment-2D448320712&d=DwMCaQ&c=aBkXpkKi7gN5fe5MqrMaN-VmRugaRb1IDRfSv2xVRy0&r=wji2HRc6wNj6E_iDdlTq3VvbuGpzMddqJ0CgcExLMHEa1MZJM8LIAlikqG4pwOpR&m=iN6HV6mxWO3WWmduAa8AD6XUpGS8WKPHf8niaSpnLhQ&s=mByPq6DBVxAYTKtea__QJYIeVoR9yG7IxzN6I-oPaWE&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AGWM-5FLxi1-5Fiy1isu-2DT29vMJgaFh5yRYoks5u6TNCgaJpZM4ZSQR-5F&d=DwMCaQ&c=aBkXpkKi7gN5fe5MqrMaN-VmRugaRb1IDRfSv2xVRy0&r=wji2HRc6wNj6E_iDdlTq3VvbuGpzMddqJ0CgcExLMHEa1MZJM8LIAlikqG4pwOpR&m=iN6HV6mxWO3WWmduAa8AD6XUpGS8WKPHf8niaSpnLhQ&s=dT0h8-46bCD4A7A8G_kDul9rURyl7r82Hgq2XI9c3Es&e=>.
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
|
Open
@peterzjx it still works for me (beautifulsoup4==4.3.2) |
Thank you so much @bifxcore ! It works for me now. Apparently one year later the bug still exists. for everybody who is as new to Beautiful Soup as me, the library needs to be imported like this:
|
j3soon
added a commit
to j3soon/ckreibich-scholar.py
that referenced
this issue
Dec 4, 2022
rafaelribeiro1510
added a commit
to rafaelribeiro1510/scholar.py
that referenced
this issue
Nov 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like the underlying HTML changed and the script is throwing:
TypeError: slice indices must be integers or None or have an index method
I think I managed to fix it by changing the code around line 570 from:
to:
The text was updated successfully, but these errors were encountered: