{"action":"created","issue":{"url":"https://api.github.com/repos/pyk/rojak/issues/94","repository_url":"https://api.github.com/repos/pyk/rojak","labels_url":"https://api.github.com/repos/pyk/rojak/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/pyk/rojak/issues/94/comments","events_url":"https://api.github.com/repos/pyk/rojak/issues/94/events","html_url":"https://github.com/pyk/rojak/issues/94","id":183223969,"number":94,"title":"[rojak-pantau] Invalid raw_content dan masalah di author_name pada Kompas","user":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyk/rojak/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/pyk/rojak/labels/tim-data","name":"tim-data","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pyk/rojak/milestones/1","html_url":"https://github.com/pyk/rojak/milestones/Rojak%20v1.0.0","labels_url":"https://api.github.com/repos/pyk/rojak/milestones/1/labels","id":2042617,"number":1,"title":"Rojak v1.0.0","description":"Rojak 1.0.0 merupakan codename untuk MVP yang akan kita deliver ke masyarakat saat masa kampanye di mulai 26 Okt - 31 Okt 2016","creator":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":75,"state":"open","created_at":"2016-10-02T21:06:37Z","updated_at":"2016-10-19T02:02:58Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":9,"created_at":"2016-10-15T18:10:22Z","updated_at":"2016-10-19T04:11:06Z","closed_at":null,"body":"Untuk sekarang scraper kompas kita masih mengambil `raw_data` yg invalid. \r\n\r\nContohnya berita ini: [http://megapolitan.kompas.com/read/2016/10/14/20230371/sylviana.murni.sindir.ahok.lebih.banyak.buat.pergub.daripada.perda](http://megapolitan.kompas.com/read/2016/10/14/20230371/sylviana.murni.sindir.ahok.lebih.banyak.buat.pergub.daripada.perda)\r\n\r\n```\r\nmysql> select * from news where media_id=2 limit 1\\G\r\n*************************** 1. row ***************************\r\n          id: 655\r\n    media_id: 2\r\n       title: Sylviana Murni Sindir Ahok Lebih Banyak Buat Pergub daripada Perda\r\n raw_content: <p><strong>JAKARTA, KOMPAS.com</strong> — Bakal calon wakil gubernur DKI Jakarta <a target=\"_blank\" class=\"inner-link\" href=\"http://megapolitan.kompas.com/tag/Sylviana%20Murni\" style=\"color:#428bca;\">Sylviana Murni</a> secara tidak langsung menyindir Gubernur DKI Jakarta <a target=\"_blank\" class=\"inner-link\" href=\"http://megapolitan.kompas.com/tag/Basuki%20Tjahaja%20Purnama\" style=\"color:#428bca;\">Basuki Tjahaja Purnama</a> atau Ahok soal pembuatan aturan di Jakarta.</p>\r\n         url: http://megapolitan.kompas.com/read/2016/10/14/20230371/sylviana.murni.sindir.ahok.lebih.banyak.buat.pergub.daripada.perda\r\n is_analyzed: 0\r\n author_name: Kahfi Dirga Cahya, Kompas TV\r\npublished_at: 2016-10-14 13:23:00\r\n inserted_at: 2016-10-15 17:59:37\r\n  updated_at: 2016-10-15 17:59:37\r\n1 row in set (0.00 sec)\r\n```\r\n\r\nScraper kompas hanya mengambil sebagian `raw_content` dan `author_name` seharusnya tidak ada `Kompas TV` nya.\r\n"},"comment":{"url":"https://api.github.com/repos/pyk/rojak/issues/comments/254705790","html_url":"https://github.com/pyk/rojak/issues/94#issuecomment-254705790","issue_url":"https://api.github.com/repos/pyk/rojak/issues/94","id":254705790,"user":{"login":"kevinluvian","id":17296437,"avatar_url":"https://avatars.githubusercontent.com/u/17296437?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinluvian","html_url":"https://github.com/kevinluvian","followers_url":"https://api.github.com/users/kevinluvian/followers","following_url":"https://api.github.com/users/kevinluvian/following{/other_user}","gists_url":"https://api.github.com/users/kevinluvian/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinluvian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinluvian/subscriptions","organizations_url":"https://api.github.com/users/kevinluvian/orgs","repos_url":"https://api.github.com/users/kevinluvian/repos","events_url":"https://api.github.com/users/kevinluvian/events{/privacy}","received_events_url":"https://api.github.com/users/kevinluvian/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T04:11:06Z","updated_at":"2016-10-19T04:11:06Z","body":"kalo gitu parser okezone harus dirubah @pyk, tapi ada beberapa parser yang pake link article versi mobilenya. kalo misalnya mau ditaro di UI harusnya bukan link mobile dong?"}}
{"actor":{"display_login":"kevinluvian"}}