Esempio n. 1
0
def task_lincang(**args):
    conp = get_conp(lincang._name_)
    lincang.work(conp, **args)
Esempio n. 2
0
def task_jiyuan1(**args):
    conp = get_conp(jiyuan1._name_)
    jiyuan1.work(conp, **args)
Esempio n. 3
0
def task_linzhou(**args):
    conp = get_conp(linzhou._name_)
    linzhou.work(conp, **args)
Esempio n. 4
0
def task_dengfeng(**args):
    conp = get_conp(dengfeng._name_)
    dengfeng.work(conp, **args)
Esempio n. 5
0
def task_hebi(**args):
    conp = get_conp(hebi._name_)
    hebi.work(conp, **args)
Esempio n. 6
0
def task_zhumadian(**args):
    conp = get_conp(zhumadian._name_)
    zhumadian.work(conp, **args)
Esempio n. 7
0
def task_qinyang(**args):
    conp = get_conp(qinyang._name_)
    qinyang.work(conp, **args)
Esempio n. 8
0
def task_puyang(**args):
    conp = get_conp(puyang._name_)
    puyang.work(conp, **args)
Esempio n. 9
0
def task_ruzhou(**args):
    conp = get_conp(ruzhou._name_)
    ruzhou.work(conp, **args)
Esempio n. 10
0
def task_mengzhou(**args):
    conp = get_conp(mengzhou._name_)
    mengzhou.work(conp, **args)
Esempio n. 11
0
def task_pingdingshan(**args):
    conp = get_conp(pingdingshan._name_)
    pingdingshan.work(conp, **args)
Esempio n. 12
0
def task_luoyang(**args):
    conp = get_conp(luoyang._name_)
    luoyang.work(conp, **args)
Esempio n. 13
0
def task_luohe(**args):
    conp = get_conp(luohe._name_)
    luohe.work(conp, **args)
Esempio n. 14
0
def task_kunming(**args):
    conp = get_conp(kunming._name_)
    kunming.work(conp, **args)
Esempio n. 15
0
def task_yongcheng(**args):
    conp = get_conp(yongcheng._name_)
    yongcheng.work(conp, **args)
Esempio n. 16
0
def task_sanmenxia(**args):
    conp = get_conp(sanmenxia._name_)
    sanmenxia.work(conp, **args)
Esempio n. 17
0
def task_zhoukou(**args):
    conp = get_conp(zhoukou._name_)
    zhoukou.work(conp, **args)
Esempio n. 18
0
def task_shangqiu(**args):
    conp = get_conp(shangqiu._name_)
    shangqiu.work(conp, **args)
Esempio n. 19
0
def task_xinxiang(**args):
    conp = get_conp(xinxiang._name_)
    xinxiang.work(conp, **args)
Esempio n. 20
0
def task_weihui(**args):
    conp = get_conp(weihui._name_)
    weihui.work(conp, **args)
Esempio n. 21
0
def task_anyang(**args):
    conp = get_conp(anyang._name_)
    anyang.work(conp, **args)
Esempio n. 22
0
def task_wugang(**args):
    conp = get_conp(wugang._name_)
    wugang.work(conp, **args)
Esempio n. 23
0
def task_gongyi(**args):
    conp = get_conp(gongyi._name_)
    gongyi.work(conp, **args)
Esempio n. 24
0
def task_xinmi(**args):
    conp = get_conp(xinmi._name_)
    xinmi.work(conp, **args)
Esempio n. 25
0
def task_jiaozhuo(**args):
    conp = get_conp(jiaozhuo._name_)
    jiaozhuo.work(conp, **args)
Esempio n. 26
0
def task_xuchang(**args):
    conp = get_conp(xuchang._name_)
    xuchang.work(conp, **args)
Esempio n. 27
0
def task_kaifeng(**args):
    conp = get_conp(kaifeng._name_)
    kaifeng.work(conp, **args)
Esempio n. 28
0
def task_yanshi(**args):
    conp = get_conp(yanshi._name_)
    yanshi.work(conp, **args)
Esempio n. 29
0
        "http://www.hnsztb.cn/HNWeb_NEW/jyxx/002002/002002005/002002005001/?Paging=1",
        ["name", "ggstart_time", "href", "info"], f1, f2
    ],
    [
        "zfcg_dyxly_gg",
        "http://www.hnsztb.cn/HNWeb_NEW/jyxx/002002/002002006/002002006001/?Paging=1",
        ["name", "ggstart_time", "href", "info"], f1, f2
    ],
    [
        "zfcg_zhongbiao_gg",
        "http://www.hnsztb.cn/HNWeb_NEW/jyxx/002002/002002002/002002002001/?Paging=1",
        ["name", "ggstart_time", "href", "info"], f1, f2
    ],
]

if gg_existed(conp=get_conp(_name_)):
    CDC_NUM = 5
else:
    CDC_NUM = 10000


def work(conp, **args):
    est_meta(conp, data=data, diqu="安徽省淮南市", **args)
    est_html(conp, f=f3, **args)


# CDC_NUM 为增量更新页数,设置成总页数以上(如:10000)可爬全部
# 增量更新时,需将cdc_total设置成 None

if __name__ == '__main__':
Esempio n. 30
0
def task_zhaotong(**args):
    conp = get_conp(zhaotong._name_)
    zhaotong.work(conp, **args)