Demo entry 6719026

spider demo

   

Submitted by jinzc on Mar 08, 2018 at 04:21
Language: Python. Code size: 203 Bytes.

from scrapy import Spider

class TestSpider(Spider):
	name = "test_spider"
	
	start_urls = [
		'http://www.baidu.com',
		'http://www.163.com'
	]
	
	def parse(self, parse):
		# 后续pass操作
		pass

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).