码迷,mamicode.com
首页 > 其他好文 > 详细

scrapy 手动编写模板

时间:2019-01-21 13:43:00      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:http   tar   style   nbsp   color   start   div   response   star   

import scrapy

class Tzspider(scrapy.Spider):
    # spider的名字,唯一
    name = tz
    # 初始url列表
    start_urls = [https://www.shiguangkey.com/course/list]

    # 每个url爬取之后会调用这个方法
    def parse(self, response):
        pass

 

scrapy 手动编写模板

标签:http   tar   style   nbsp   color   start   div   response   star   

原文地址:https://www.cnblogs.com/cxhzy/p/10298059.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!