You need to import the Rule class.  Check your import statements in your
working spider, should find one that says something like (note: this
probably is incorrect so don't copy it!) "from scrapy.contrib import Rule"

On Tue, Jul 21, 2015 at 10:28 AM, David Carlo <[email protected]>
wrote:

> Thank you! I didnt catch that. I fixed it however, I am now
> getting NameError: name 'Rule' is not defined I have no idea what I am
> doing wrong. I wrote another spider very similar to this and it worked.
> What I am trying to accomplish is have the spider go into the link continue
> crawling to the next page. Eventually I would like it to go into the game
> links as well.
>
> On Mon, Jul 20, 2015 at 5:57 PM, Travis Leleu <[email protected]> wrote:
>
>> You appear to be missing a right parenthesis to close the rules tuple.
>>
>> On Mon, Jul 20, 2015 at 1:20 PM, Dc1981 <[email protected]> wrote:
>>
>>> Hello I am building a scraper that will download game titles and
>>> console. I am trying to go to the next page however, when I set my rules I
>>> am getting an error in my terminal.
>>> line 22
>>>     def parse(self, response):
>>>       ^
>>>  I have placed my code in paste bin http://pastebin.com/fkmPSwPy. Any
>>> help will be greatly appreciated. FYI I am using scrapy .24.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "scrapy-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/scrapy-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "scrapy-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/scrapy-users/MA6J5CKxOXE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/scrapy-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Sincerely
> David B Carlo
> Owner - Colossal Point LLC
> Phone: (954) 849-3588
> Web Site: www.colossalpoint.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to