mirror of
https://github.com/scrapy/scrapy.git
synced 2025-03-04 09:18:19 +00:00
11 lines
213 B
Python
11 lines
213 B
Python
from scrapy.spider import Spider
|
|
|
|
class Spider4(Spider):
|
|
name = "spider4"
|
|
|
|
@classmethod
|
|
def from_crawler(cls, crawler, **kwargs):
|
|
o = cls(**kwargs)
|
|
o.crawler = crawler
|
|
return o
|