예제 #1
0
# -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

import sys
reload(sys)
sys.setdefaultencoding("utf-8")

initializer = Initializer(source="aqi",
                          table_config="table_config.json",
                          filter_config="init_data.json")
예제 #2
0
# -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

initializer = Initializer(source="ofo",table_config="table_config.json",filter_config=None,test_url="http://san.ofo.so")
예제 #3
0
# -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

import sys

reload(sys)
sys.setdefaultencoding("utf-8")

initializer = Initializer(source="sq688",
                          table_config="table_config.json",
                          filter_config="init_data.json",
                          test_url="https://www.sq688.com/")
예제 #4
0
    # -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

import sys
reload(sys)
sys.setdefaultencoding("utf-8")

initializer = Initializer(source="cphi", table_config="table_config.json",filter_config="init_data.json",test_url="http://www.cphi.cn/Products/")
예제 #5
0
# -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

initializer = Initializer(
    source="mobike",
    table_config="table_config.json",
    filter_config=None,
    test_url="http://mwx.mobike.com/mobike-api/rent/nearbyBikesInfo.do")
예제 #6
0
    # -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

import sys
reload(sys)
sys.setdefaultencoding("utf-8")


initializer = Initializer(source="carflac", table_config="table_config.json",filter_config="init_data.json",
                          test_url="http://www.carflac.com")
예제 #7
0
# -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

import sys
reload(sys)
sys.setdefaultencoding("utf-8")

initializer = Initializer(source="52flac", table_config="table_config.json",
                          filter_config="init_data.json", test_url="")

예제 #8
0
# -*- encoding:utf-8 -*-

from com.xin.spiders.spider.init_spider import Initializer

import sys
reload(sys)
sys.setdefaultencoding("utf-8")

initializer = Initializer(source="51ape",
                          table_config="table_config.json",
                          test_url="http://www.51ape.com/",
                          filter_config="init_data.json")