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

bug: fix search by filter bug #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Emerson1337
Copy link

@Emerson1337 Emerson1337 commented Dec 30, 2022

Description

There are an error when the function LinvoScraper.services.scraper.process() is called. The new URL returned it's weird and broken!

With this refactor the functionality works fine!

When a new url is generated by Linvo, searching using filters (https://www.linkedin.com/search/results/people?keywords=programmer), the results show a broken URL, like that:
image

To solve it I just changed from the build the follow code lines:
it:
image

to it:
image

the reason of .replace('%3F', '') it's because the stringify it was changing ? to "%3f" causing errors.


Issue Ticket Number

Fixes #25


Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
  • I have checked to ensure there aren't other open Pull Requests for the same update/change?
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes needed to the documentation

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.

I can't use search filter from Linvo-scraper
1 participant