-
Notifications
You must be signed in to change notification settings - Fork 227
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
Blurbs are still being retrieved for filtered out jobs #83
Labels
Comments
thank-you for the detailed write-up! (looks like it's time to do some more thorough code review in the codebase) |
ah oops should have done this before I drafted a release just now. Need to fix this and some other behaviour issues and up the sub-rev. |
Perfect timing actually, I was gonna make a pull request with some fixes I made. |
ah nice! glad to hear it! Feel free to up the rev to |
Closed
39 tasks
17 tasks
17 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently the scraper is still retrieving blurbs for jobs that have been filtered out by the pre_filter method.
Please include a summary of the issue.
Please include the steps to reproduce.
List any additional libraries that are affected.
Steps to Reproduce
Expected behavior
The scraper should remove jobs identified by the by the pre_filter, and only obtain blurbs for the remaining jobs.
Actual behavior
The scraper retrieves blurbs for all jobs whether they were filtered out or not.
To fix the issue, the order of the creation of the scrape_list and call to the pre_filter method would have to be switched. The screenshot below highlights the issue within the code and the debugger output :
![image](https://user-images.githubusercontent.com/36117280/86072743-4cfcb000-ba50-11ea-9ecd-71c21ae49dc7.png)
Although this could've of been fixed in a pull request, making this fix would break date_filter called by the pre_filter method in the main JobFunnel class.
Environment
The text was updated successfully, but these errors were encountered: