Hey, everyone. I'm new to scrapy and there are things I do not understand. 
The question I have is this.
When I create a spider how to figure out what to import? Maybe I'm a Python 
really do not know, do not argue.
For example.

rules = (
    Rule(LinkExtractor(allow=(r"href=\"\/courses\/\d*\"", )), callback='parse'),
)

Doesn't work for me, if I don't do from scrapy.contrib.spiders import 
CrawlSpider, Rule

Here's how I understand what and when to import? 

Thank you.

-- 
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 scrapy-users+unsubscr...@googlegroups.com.
To post to this group, send email to scrapy-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to