Skip to content

Commit

Permalink
Initial commit. Just ran scrapy startproject
Browse files Browse the repository at this point in the history
  • Loading branch information
tzermias committed Jul 26, 2014
0 parents commit 8c5b2a6
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 0 deletions.
Empty file added diavgeia/__init__.py
Empty file.
11 changes: 11 additions & 0 deletions diavgeia/items.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/topics/items.html

from scrapy.item import Item, Field

class DiavgeiaItem(Item):
# define the fields for your item here like:
# name = Field()
pass
8 changes: 8 additions & 0 deletions diavgeia/pipelines.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/topics/item-pipeline.html

class DiavgeiaPipeline(object):
def process_item(self, item, spider):
return item
15 changes: 15 additions & 0 deletions diavgeia/settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Scrapy settings for diavgeia project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
# http://doc.scrapy.org/topics/settings.html
#

BOT_NAME = 'diavgeia'
BOT_VERSION = '1.0'

SPIDER_MODULES = ['diavgeia.spiders']
NEWSPIDER_MODULE = 'diavgeia.spiders'
USER_AGENT = '%s/%s' % (BOT_NAME, BOT_VERSION)

4 changes: 4 additions & 0 deletions diavgeia/spiders/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This package will contain the spiders of your Scrapy project
#
# Please refer to the documentation for information on how to create and manage
# your spiders.
11 changes: 11 additions & 0 deletions scrapy.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically created by: scrapy startproject
#
# For more information about the [deploy] section see:
# http://doc.scrapy.org/topics/scrapyd.html

[settings]
default = diavgeia.settings

[deploy]
#url = http://localhost:6800/
project = diavgeia

0 comments on commit 8c5b2a6

Please sign in to comment.