-
Notifications
You must be signed in to change notification settings - Fork 77
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
New hooks to be notified about URLs being added or retrieved from the queue #169
Conversation
I can't remember the intention but I think I wanted |
Okay, I moved the test hooks from |
If you can make those final two changes, that would be great. Thanks for your help! |
Okay, let's try this again. |
Looks like forgot to consider the code path where scripts can queue URLs of their own. If you haven't seen it yet, in |
This makes sure it includes scraped or custom URLs.
@chfoo Thanks, I updated the code path in |
This merge request implements new hooks in order to be notified about URLs being added or retrieved from the queue. There is still some room for improvement since currently the list of added url_infos has to be recreated in item.py since only the URLs themselves are passed to database.py.