Archived
1
0

Resolved all references to the old folder

This commit is contained in:
Jip J. Dekker 2014-04-23 15:55:38 +02:00
parent 1e24453a11
commit e18e4b4b26
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
from parser import Parser
from source import Parser
from scrapy import log
from scrapy.http import Request
from scrapy.selector import Selector
@ -18,7 +18,7 @@ class ChemSpider(Parser):
"""
def __init__(self):
pass
Parser.__init__(self)
website = 'http://www.chemspider.com/*'

View File

@ -1,13 +1,13 @@
import inspect
import os
import re
from FourmiCrawler.parsers.parser import Parser
from FourmiCrawler.sources.source import Parser
class SourceLoader:
sources = []
def __init__(self, rel_dir="FourmiCrawler/parsers"):
def __init__(self, rel_dir="FourmiCrawler/sources"):
path = os.path.dirname(os.path.abspath(__file__))
path += "/" + rel_dir
known_parser = set()