Skip to content
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

Fixing incorrect session for Semantic Scholar no-year #50

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

jamesbraza
Copy link
Collaborator

If doing a no-year search, we accidentally used the Google session, not the Semantic Scholar session.

While I was at it, I accommodated a SIM102 and dedented after response/resp.ok's.

@jamesbraza jamesbraza added the bug Something isn't working label Apr 1, 2024
@jamesbraza jamesbraza self-assigned this Apr 1, 2024
f"{title} | {year} not found. Now trying without year"
)
del local_p["year"]
async with ss_sub_session.get(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This line here is the bug. Note in left it was ss_session, here it's ss_sub_session

@jamesbraza jamesbraza merged commit 7ab6b1d into main Apr 2, 2024
1 check passed
@jamesbraza jamesbraza deleted the fixing-bad-session branch April 2, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant