Skip to content

Conversation

@spwats
Copy link

@spwats spwats commented Nov 20, 2022

searching for candidates currently fails because the candidate search regex is strict; it assumes that there is only a single query param called id. However, orp now returns search results whose URLs contain an additional query param. This PR fixes the problem with correctly identifying these returned search results by relaxing the regex pattern to account for the existence of additional query params.

modify the regex pattern for matching candidates in order to account for any extra URL query params found after `id`
@Rubicj
Copy link

Rubicj commented Apr 12, 2024

Was experiencing difficulties and found out it was this same problem. I solved it by making the final double quote optiona, but your solution is better as it doesn't rely on greedy matching to match the whole id.

starkayc added a commit to starkayc/orpheusbetter-crawler that referenced this pull request Sep 29, 2024
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

Successfully merging this pull request may close these issues.

3 participants