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

Allow spider to specify custom callback #1

Open
seagatesoft opened this issue Aug 11, 2016 · 1 comment
Open

Allow spider to specify custom callback #1

seagatesoft opened this issue Aug 11, 2016 · 1 comment

Comments

@seagatesoft
Copy link

Currently we can't specify callback for requests generated by HCF middleware. I am proposing new parameter on request.meta to allow the spider to specify the desired callback:

On the spider:
yield Request(url, meta={'use_hcf': True, 'hcf_params': {'qdata': {'callback': 'parse_item'}}})

This simple modification will implement that: seagatesoft@2adab90

I'll create the PR if this issue approved.

@BurnzZ
Copy link
Member

BurnzZ commented Aug 14, 2018

Hi @seagatesoft,

I'm currently using this plugin on a project and this would feature would be super useful to us. Could we revive back this feature proposal? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants