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]: using quotes doesn't work #431

Open
ralyodio opened this issue Sep 25, 2024 · 3 comments
Open

[BUG]: using quotes doesn't work #431

ralyodio opened this issue Sep 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ralyodio
Copy link

Describe the bug

need to allow for quoted keywords

Steps to reproduce

positions:
  - "Frontend Engineer"
  - "Fullstack Engineer" JavaScript
  - Director Engineering
  - VP Engineering
  - "Fractional CTO"
  - "Technical Co-founder"

Expected behavior

No response

Actual behavior

No response

Branch

None

Branch name

No response

Python version

No response

LLM Used

No response

Model used

No response

Additional context

No response

@ralyodio ralyodio added the bug Something isn't working label Sep 25, 2024
@feder-cr
Copy link
Owner

@ralyodio please explain better

@ralyodio
Copy link
Author

what don't you understand?

@newbie321
Copy link

newbie321 commented Sep 25, 2024

The easiest way to solve it right now would be to go here:

 def next_job_page(self, position, location, job_page):
        logger.debug(f"Navigating to next job page: {position} in {location}, page {job_page}")
        self.driver.get(
            f"https://www.linkedin.com/jobs/search/{self.base_search_url}&keywords={position}{location}&start={job_page * 25}")

and

  1. replace outer quotes with with single quotes
  2. add "" around {position} ie "{position}"

OR
you can 'escape' the quotes directly in yaml

'"software developer"'
single quote double-quote software developer double-quote single-quote

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

No branches or pull requests

3 participants