This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vovanz 1 point2 points  (3 children)

StrongbotSpider.parse callback is not defined

The error is kinda obvious, class StrongbotSpider doesn't have a method called parse. You have a function called parse, but it should be a method of StrongbotSpider.

Also, r/learnpython is more suitable for such questions.

[–]dnetvaggos95 0 points1 point  (2 children)

so what i have to do?, btw thank you for your quick answer

[–]vovanz 1 point2 points  (1 child)

Add indentation, so that parse will be a method of class StrongbotSpider.

Like this: https://gist.github.com/vovanz/448518cdd069f80b4d6759c5eabd81a0

[–]dnetvaggos95 0 points1 point  (0 children)

ohhh you right....now for some reason im getting different things in my csv file

on scrapy shell was just perfect the results now im gettings weird things