modify scripts
This commit is contained in:
@ -4,6 +4,7 @@ import json
|
|||||||
import time
|
import time
|
||||||
import csv
|
import csv
|
||||||
import logging
|
import logging
|
||||||
|
import config
|
||||||
|
|
||||||
# 解析 height 和 weight(转换成数字)
|
# 解析 height 和 weight(转换成数字)
|
||||||
def parse_height(height_str):
|
def parse_height(height_str):
|
||||||
@ -20,7 +21,7 @@ def parse_weight(weight_str):
|
|||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
update_dir = '../result'
|
update_dir = f'{config.global_host_data_dir}/iafd'
|
||||||
performers_dir = f'{update_dir}/performers'
|
performers_dir = f'{update_dir}/performers'
|
||||||
movies_dir = f'{update_dir}/movies'
|
movies_dir = f'{update_dir}/movies'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user