Open avayayu opened 7 years ago
pyspider will deduplicate tasks by it's url by default, so the task submitted in on_start
and index_page
are the same task for pyspider. The task info (post data) may be overridden by another callback. You can use taskid
API to mark them as different task.
keyError:'projects' should be a but in python3.
Do you mean due to the same url,my task has the same taskid ,so then the fetcher discard my task?
So I wonder what's different between itag and taskid. I tried set itag before but also failed.
thanks for your reply.
i have tried add a tag and rewrite the get_taskid function.But still the same error.
Could you
return response.json
in the callback
frist,i am using Ubuntu 16.04LTS python 3.5.2 pyspider 0.3.8
everything does well in debug,but always fectch error when i clicked run on dashbord.
A typical error like this:
PS:another error : from projects import XXX always cause keyError:'projects'