spinlud / py-linkedin-jobs-scraper

MIT License
311 stars 86 forks source link

Limit the number of results returned #15

Closed jennafu closed 3 years ago

jennafu commented 3 years ago

Is there a way to set the limit, to the number of jobs found?

For instance, in the screenshot below, I have set the limit to 50, and in the log it 'Found 18 jobs', so it ended up returning 18 entries that are related to the query and 32 additional ones that are not as relevant to the query.

Screenshot 2021-05-25 165117

spinlud commented 3 years ago

Hi there, that number is not the total number of jobs existing for that query (it could be much higher) but just the number of jobs currently found in the page in that moment (jobs are lazy loading), so you should not base any action on that number. I agree is kind of misleading :-)

jennafu commented 3 years ago

Ahh thanks for the clarification! :)