{"action":"closed","issue":{"url":"https://api.github.com/repos/MorganZhang100/zhihu-spider/issues/1","labels_url":"https://api.github.com/repos/MorganZhang100/zhihu-spider/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MorganZhang100/zhihu-spider/issues/1/comments","events_url":"https://api.github.com/repos/MorganZhang100/zhihu-spider/issues/1/events","html_url":"https://github.com/MorganZhang100/zhihu-spider/issues/1","id":61830392,"number":1,"title":"初始化数据库数据？","user":{"login":"zyearn","id":4475779,"avatar_url":"https://avatars.githubusercontent.com/u/4475779?v=3","gravatar_id":"","url":"https://api.github.com/users/zyearn","html_url":"https://github.com/zyearn","followers_url":"https://api.github.com/users/zyearn/followers","following_url":"https://api.github.com/users/zyearn/following{/other_user}","gists_url":"https://api.github.com/users/zyearn/gists{/gist_id}","starred_url":"https://api.github.com/users/zyearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyearn/subscriptions","organizations_url":"https://api.github.com/users/zyearn/orgs","repos_url":"https://api.github.com/users/zyearn/repos","events_url":"https://api.github.com/users/zyearn/events{/privacy}","received_events_url":"https://api.github.com/users/zyearn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-15T14:53:35Z","updated_at":"2015-03-15T19:24:13Z","closed_at":"2015-03-15T19:24:13Z","body":"你好。看了下 question.py 和 topic.py 的代码，这两个脚本基于mysql里已有的数据来做爬数据。但是调用init.sql只是初始化表，所以做好可以再写个 initdb.py，可以在配置文件里设置初始 topic 或者初始 question，Initdb.py读这个配置并插入数据库，对吧？"}}