资源简介

scrapy爬虫

资源截图

代码片段和文件信息

# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
import scrapy

class TongchengItem(scrapy.Item):
    city = scrapy.Field()
    station = scrapy .Field()
    company = scrapy.Field()
    salary = scrapy.Field()
    detail = scrapy.Field()
    Number = scrapy.Field()
    limit = scrapy.Field()

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-11-12 15:31  .idea\
     目录           0  2019-11-03 17:41  .idea\inspectionProfiles\
     文件         174  2019-11-03 17:41  .idea\inspectionProfiles\profiles_settings.xml
     文件         306  2019-11-03 17:41  .idea\misc.xml
     文件         277  2019-11-03 17:41  .idea\modules.xml
     文件         478  2019-11-03 17:41  .idea\tongcheng.iml
     文件        8300  2019-11-12 15:31  .idea\workspace.xml
     文件         261  2019-11-03 17:36  scrapy.cfg
     文件     1615427  2019-11-13 16:00  station.csv
     目录           0  2019-11-04 17:46  tongcheng\
     文件           0  2019-10-03 15:47  tongcheng\__init__.py
     目录           0  2019-11-04 17:47  tongcheng\__pycache__\
     文件         135  2019-11-03 17:37  tongcheng\__pycache__\__init__.cpython-36.pyc
     文件         451  2019-11-04 15:57  tongcheng\__pycache__\items.cpython-36.pyc
     文件         952  2019-11-04 17:47  tongcheng\__pycache__\pipelines.cpython-36.pyc
     文件         477  2019-11-04 11:25  tongcheng\__pycache__\settings.cpython-36.pyc
     文件         398  2019-11-04 15:18  tongcheng\items.py
     文件        3603  2019-11-03 17:36  tongcheng\middlewares.py
     文件         831  2019-11-04 17:46  tongcheng\pipelines.py
     文件        3208  2019-11-04 11:25  tongcheng\settings.py
     目录           0  2019-11-04 17:46  tongcheng\spiders\
     文件         161  2019-10-03 15:47  tongcheng\spiders\__init__.py
     目录           0  2019-11-04 17:46  tongcheng\spiders\__pycache__\
     文件         143  2019-11-03 17:38  tongcheng\spiders\__pycache__\__init__.cpython-36.pyc
     文件        3498  2019-11-04 17:46  tongcheng\spiders\__pycache__\tc.cpython-36.pyc
     文件         653  2019-11-03 20:11  tongcheng\spiders\__pycache__\try.cpython-36.pyc
     文件        3738  2019-11-04 17:46  tongcheng\spiders\tc.py
     文件         510  2019-11-03 19:58  tongcheng\spiders\try.py

评论

共有 条评论