mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-27 12:04:37 +00:00
10 lines
234 B
Python
10 lines
234 B
Python
from scrapy.spiders import Spider
|
|
|
|
class Spider3(Spider):
|
|
name = "spider3"
|
|
allowed_domains = ['spider3.com']
|
|
|
|
@classmethod
|
|
def handles_request(cls, request):
|
|
return request.url == 'http://spider3.com/onlythis'
|