Resolved all references to the old folder
This commit is contained in:
parent
1e24453a11
commit
e18e4b4b26
@ -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/*'
|
||||
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user