zengsn / name-crawler-python

Chinese name crawler written by Python
2 stars 2 forks source link

把名字记录导出为JSON文件 #8

Open zengsn opened 8 years ago

zengsn commented 8 years ago

执行一条命令,即可导出。

JSON文件的结构可以像这样:

{
  "name": "张三",
  "records": [{
    "from": "新浪",
    "url": "",
    "address": ""
    "year": ""
  }, {
    "from": "搜狐"
  }]
}

名字太多时,可以考虑分文件夹,例如10000条一个文件夹。