Hi
Im doing some crawling and want to schedule it via scrapyd but i got that
error : "TypeError: __init__() got an unexpected keyword argument '_job'"
My Code :
class Example(CrawlSpider):
name = "korayspor"
def __init__(self, **kwargs):
self.allowed_domains = ["example.com","www.example.com"]
self.start_urls = [
"http://www.example.com",
]
self.rules = [
Rule(SgmlLinkExtractor(allow='(.*)\.example\.com\/(.*)-(.*)$'),
callback='parse_items',follow = True),
Rule(SgmlLinkExtractor(allow=()), follow=True),
]
super(Example, self).__init__(**kwargs)
--
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.