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
|
||||
.idea
|
||||
|
||||
#Python Specific ignores
|
||||
*.pyc
|
||||
|
||||
#THINGS WE WOULD NEVER EVER WANT!
|
||||
#ignore thumbnails created by windows
|
||||
Thumbs.db
|
||||
|
Binary file not shown.
@ -5,7 +5,9 @@
|
||||
|
||||
from scrapy.item import Item, Field
|
||||
|
||||
class FourmiItem(Item):
|
||||
# define the fields for your item here like:
|
||||
# name = Field()
|
||||
pass
|
||||
class Result(Item):
|
||||
attribute = Field()
|
||||
value = Field()
|
||||
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