Closed hazemimo closed 1 year ago
Thanks for the submission, @hazemimo. This is not an issue; probably using the "Discussion" section would have been a better place. However, regarding your query filters offered by LinkedIn, they are:
Filtering by company size without it being a filter
(as a field) would require the bot to scrape the webpage, which makes it a bit complicated. In case you think a company is scammy, you may use the *.csv
logs generated by the bot to shortlist such companies and add them to the companyBlacklist
section of config.yaml
. It's not a proactive solution, but it serves its purpose in the long run. Similarly, you can add job poster
to posterBlacklist
so the bot would ignore jobs posted by blacklisted people.
With this said, I will keep your suggestion in mind and explore ways to implement it.
I was trying to make it happen in the same way as how the blacklist work. By scraping the size of the company. I have reached that the Xpath of the size is /html/body/div[4]/div[3]/div[4]/div/div/main/div/div[2]/div/div[2]/div[1]/div/div[1]/div/div[1]/div[1]/div[3]/ul/li[2]/span/text()
It would be very helpful if you'd like to work on this together to add a function to filter the size. As it is a function that LinkedIn never provides. Let me know if you'd like to arrange a zoom call or something, I think I'm very close to the solution!
Hi @hazemimo ,
Apologies for the delay in responding; I've been quite busy.
Finding the web element is one part of it; how do you intend to implement a filter that users can change according to their preferences when the default or valid values acceptable to the website aren't known?
I suggest that you fork my repo, and once you are able to progress on this idea, send a pull request for merging. Also, I am working on a few other improvements to the bot's functionality whenever I get the time. Due to my full-time job and other commitments, it's difficult to schedule a call.
Your interest in improving the bot is much appreciated. Stay in touch. Thanks.
Hi Taimur,
Thank you again for your effort!
For the example I mentioned, the job link is https://www.linkedin.com/jobs/view/3649282950/
As I mentioned, I'm trying to add a filter to filter out the employee population to filter out 11-50 employees, as most of them are scam companies. I have traced the class for the population number on the page, but I don't know how to add the function in the code. The class is:
Could you please add a function to let the bot filter the population?
Thank you!