Skip to content

Another tweak to parse to account for another possible case.

Compare
Choose a tag to compare
@ThomasAitken ThomasAitken released this 28 May 12:30
· 24 commits to master since this release
30f2567

Discovered an edge case where a problem was arising for the parse command. If you tried to trigger testmaster parse with depth > 1 and specifying a callback which outputs one or more requests which directly inherit the callback value from the initial request (i.e. request.callback = response.request.callback), then the callback value was being set to a function within parse.py (prepare_request.callback), rather than the appropriate function of the spider.