Merge branch 'feature/basic-structure' into develop
This commit is contained in:
commit
b239e474ca
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,6 +1,9 @@
|
|||||||
#EDITOR AND IDE SPECIFIC SETTINGFILES
|
#EDITOR AND IDE SPECIFIC SETTINGFILES
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
#Python Specific ignores
|
||||||
|
*.pyc
|
||||||
|
|
||||||
#THINGS WE WOULD NEVER EVER WANT!
|
#THINGS WE WOULD NEVER EVER WANT!
|
||||||
#ignore thumbnails created by windows
|
#ignore thumbnails created by windows
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
Binary file not shown.
@ -5,7 +5,9 @@
|
|||||||
|
|
||||||
from scrapy.item import Item, Field
|
from scrapy.item import Item, Field
|
||||||
|
|
||||||
class FourmiItem(Item):
|
class Result(Item):
|
||||||
# define the fields for your item here like:
|
attribute = Field()
|
||||||
# name = Field()
|
value = Field()
|
||||||
pass
|
source = Field()
|
||||||
|
reliability = Field()
|
||||||
|
conditions = Field()
|
Binary file not shown.
11
Scrapy/spiders/Chemspider.py
Normal file
11
Scrapy/spiders/Chemspider.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
from scrapy.spider import Spider
|
||||||
|
|
||||||
|
class ChemspiderSpider(Spider):
|
||||||
|
name = "Chemspider"
|
||||||
|
allowed_domains = ["chemspider.com"]
|
||||||
|
start_urls = (
|
||||||
|
'http://www.chemspider.com/',
|
||||||
|
)
|
||||||
|
|
||||||
|
def parse(self, response):
|
||||||
|
pass
|
11
Scrapy/spiders/Wikipedia.py
Normal file
11
Scrapy/spiders/Wikipedia.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
from scrapy.spider import Spider
|
||||||
|
|
||||||
|
class WikipediaSpider(Spider):
|
||||||
|
name = "Wikipedia"
|
||||||
|
allowed_domains = ["wikipedia.org"]
|
||||||
|
start_urls = (
|
||||||
|
'http://www.wikipedia.org/',
|
||||||
|
)
|
||||||
|
|
||||||
|
def parse(self, response):
|
||||||
|
pass
|
Binary file not shown.
Reference in New Issue
Block a user