(count)
下载更新数据
下载更新数据
下载更新数据
def download(count):
    """
    下载更新数据
    """
    print('start download')
    sys.argv = sys.argv[:1]
    if count is not None:
        APP_CONFIG['download.count'] = count
    sys.argv.append(APP_CONFIG['download.root_path'])
    aspider.main()
def download ( count ) : print ( 'start download' ) sys . argv = sys . argv [ : 1 ] if count is not None : APP_CONFIG [ 'download.count' ] = count sys . argv . append ( APP_CONFIG [ 'download.root_path' ] ) aspider . main ( )