{"action":"created","issue":{"url":"https://api.github.com/repos/BGmi/BGmi/issues/109","repository_url":"https://api.github.com/repos/BGmi/BGmi","labels_url":"https://api.github.com/repos/BGmi/BGmi/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/BGmi/BGmi/issues/109/comments","events_url":"https://api.github.com/repos/BGmi/BGmi/issues/109/events","html_url":"https://github.com/BGmi/BGmi/issues/109","id":341063885,"node_id":"MDU6SXNzdWUzNDEwNjM4ODU=","number":109,"title":"合并多个数据源的放送列表","user":{"login":"Trim21","id":13553903,"node_id":"MDQ6VXNlcjEzNTUzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/13553903?v=4","gravatar_id":"","url":"https://api.github.com/users/Trim21","html_url":"https://github.com/Trim21","followers_url":"https://api.github.com/users/Trim21/followers","following_url":"https://api.github.com/users/Trim21/following{/other_user}","gists_url":"https://api.github.com/users/Trim21/gists{/gist_id}","starred_url":"https://api.github.com/users/Trim21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trim21/subscriptions","organizations_url":"https://api.github.com/users/Trim21/orgs","repos_url":"https://api.github.com/users/Trim21/repos","events_url":"https://api.github.com/users/Trim21/events{/privacy}","received_events_url":"https://api.github.com/users/Trim21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Trim21","id":13553903,"node_id":"MDQ6VXNlcjEzNTUzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/13553903?v=4","gravatar_id":"","url":"https://api.github.com/users/Trim21","html_url":"https://github.com/Trim21","followers_url":"https://api.github.com/users/Trim21/followers","following_url":"https://api.github.com/users/Trim21/following{/other_user}","gists_url":"https://api.github.com/users/Trim21/gists{/gist_id}","starred_url":"https://api.github.com/users/Trim21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trim21/subscriptions","organizations_url":"https://api.github.com/users/Trim21/orgs","repos_url":"https://api.github.com/users/Trim21/repos","events_url":"https://api.github.com/users/Trim21/events{/privacy}","received_events_url":"https://api.github.com/users/Trim21/received_events","type":"User","site_admin":false},"assignees":[{"login":"Trim21","id":13553903,"node_id":"MDQ6VXNlcjEzNTUzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/13553903?v=4","gravatar_id":"","url":"https://api.github.com/users/Trim21","html_url":"https://github.com/Trim21","followers_url":"https://api.github.com/users/Trim21/followers","following_url":"https://api.github.com/users/Trim21/following{/other_user}","gists_url":"https://api.github.com/users/Trim21/gists{/gist_id}","starred_url":"https://api.github.com/users/Trim21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trim21/subscriptions","organizations_url":"https://api.github.com/users/Trim21/orgs","repos_url":"https://api.github.com/users/Trim21/repos","events_url":"https://api.github.com/users/Trim21/events{/privacy}","received_events_url":"https://api.github.com/users/Trim21/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-07-13T15:31:37Z","updated_at":"2018-11-05T14:02:15Z","closed_at":null,"author_association":"MEMBER","body":"先写了一个能跑的出来,还没法正式使用，目前的问题是在数据库里已经有数据的情况下从数据源抓取数据的时候可能会生成两个重复的番剧。\r\n\r\n现在的实现方式: 从 https://api.bgm.tv/calendar 抓取数据做为主干, 从所有支持的数据源(在`DATA_SOURCE_MAP`中定义)中抓取数据,通过番剧名模糊匹配合并成主干的`data_source`, 如果没找到合适的番剧，就会成为主干上的新节点。\r\n\r\n\r\n最相似番剧匹配差不多做好了，还需要一个手动处理出错的办法…\r\n\r\ntodo:\r\n\r\n- [x] add\r\n- [x] delete\r\n- [x] mark\r\n- [x] cal\r\n- [x] list\r\n- [x] filter\r\n- [x] fetch\r\n- [x] search\r\n- [x] update\r\n- [ ] http api\r\n- [ ] frontend"},"comment":{"url":"https://api.github.com/repos/BGmi/BGmi/issues/comments/435885327","html_url":"https://github.com/BGmi/BGmi/issues/109#issuecomment-435885327","issue_url":"https://api.github.com/repos/BGmi/BGmi/issues/109","id":435885327,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTg4NTMyNw==","user":{"login":"codysk","id":5507434,"node_id":"MDQ6VXNlcjU1MDc0MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5507434?v=4","gravatar_id":"","url":"https://api.github.com/users/codysk","html_url":"https://github.com/codysk","followers_url":"https://api.github.com/users/codysk/followers","following_url":"https://api.github.com/users/codysk/following{/other_user}","gists_url":"https://api.github.com/users/codysk/gists{/gist_id}","starred_url":"https://api.github.com/users/codysk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codysk/subscriptions","organizations_url":"https://api.github.com/users/codysk/orgs","repos_url":"https://api.github.com/users/codysk/repos","events_url":"https://api.github.com/users/codysk/events{/privacy}","received_events_url":"https://api.github.com/users/codysk/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T14:02:15Z","updated_at":"2018-11-05T14:02:15Z","author_association":"NONE","body":"自动匹配的？\r\n震惊！"}}
{"actor":{"display_login":"codysk"}}