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

fix the double request workaround #6

Open
kalab-oto opened this issue Feb 2, 2023 · 0 comments
Open

fix the double request workaround #6

kalab-oto opened this issue Feb 2, 2023 · 0 comments
Assignees

Comments

@kalab-oto
Copy link
Owner

The first request after login returns empty results. Fix this workaround. Try add checking the page in isop_login() function.

rndop/R/ndop_search.R

Lines 61 to 66 in b77af84

for (i in 1:2){
filter_page <- httr::POST(SEARCH_URL,
body = search_payload,
config = httr::set_cookies(
isop_loginhash = isop_loginhash))
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant