1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-28 20:58:07 +00:00

10 lines
234 B
Python
Raw Normal View History

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'