Exemple #1
0
# -*- coding: utf-8 -*-
"""
create on 2018-02-11 下午1:41

author @heyao
"""

import redis

from heretofore.run.utils import schedule_spider
from heretofore.pool import db, redis_connection_pool

r = redis.StrictRedis(connection_pool=redis_connection_pool)
schedule_spider({'qidian_index': 1}, db, r)
Exemple #2
0
# -*- coding: utf-8 -*-
"""
create on 2018-02-11 下午3:18

author @heyao
"""

import redis

from heretofore.run.utils import schedule_spider
from heretofore.pool import db, redis_connection_pool

r = redis.StrictRedis(connection_pool=redis_connection_pool)
schedule_spider({'chuangshi_detail': 1, 'qidian_detail': 1}, db, r)
# -*- coding: utf-8 -*-
"""
create on 2018-02-11 下午1:50

author @heyao
"""

import redis

from heretofore.run.utils import schedule_spider
from heretofore.pool import db, redis_connection_pool

r = redis.StrictRedis(connection_pool=redis_connection_pool)
schedule_spider({'qdmm_index': 1, 'xxsy_index': 1, 'jjwxc_index': 1}, db, r)
Exemple #4
0
# -*- coding: utf-8 -*-
"""
create on 2018-02-11 下午2:17

author @heyao
"""

import redis

from heretofore.run.utils import schedule_spider
from heretofore.pool import db, redis_connection_pool

r = redis.StrictRedis(connection_pool=redis_connection_pool)
schedule_spider({'chuangshi_index': 1, 'yunqi_index': 1}, db, r)
Exemple #5
0
# -*- coding: utf-8 -*-
"""
create on 2018-02-11 下午3:19

author @heyao
"""

import redis

from heretofore.run.utils import schedule_spider
from heretofore.pool import db, redis_connection_pool

r = redis.StrictRedis(connection_pool=redis_connection_pool)
schedule_spider({'qdmm_detail': 1, 'jjwxc_detail': 1}, db, r)
Exemple #6
0
# -*- coding: utf-8 -*-
"""
create on 2018-02-11 下午3:19

author @heyao
"""

import redis

from heretofore.run.utils import schedule_spider
from heretofore.pool import db, redis_connection_pool

r = redis.StrictRedis(connection_pool=redis_connection_pool)
schedule_spider({'xxsy_detail': 1, 'yunqi_detail': 1}, db, r)