-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit. Just ran scrapy startproject
- Loading branch information
0 parents
commit 8c5b2a6
Showing
6 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |