{"action":"created","issue":{"url":"https://api.github.com/repos/inorichi/tachiyomi/issues/239","repository_url":"https://api.github.com/repos/inorichi/tachiyomi","labels_url":"https://api.github.com/repos/inorichi/tachiyomi/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/inorichi/tachiyomi/issues/239/comments","events_url":"https://api.github.com/repos/inorichi/tachiyomi/issues/239/events","html_url":"https://github.com/inorichi/tachiyomi/pull/239","id":145563981,"number":239,"title":"[WIP] Rewrite source","user":{"login":"inorichi","id":3521738,"avatar_url":"https://avatars.githubusercontent.com/u/3521738?v=3","gravatar_id":"","url":"https://api.github.com/users/inorichi","html_url":"https://github.com/inorichi","followers_url":"https://api.github.com/users/inorichi/followers","following_url":"https://api.github.com/users/inorichi/following{/other_user}","gists_url":"https://api.github.com/users/inorichi/gists{/gist_id}","starred_url":"https://api.github.com/users/inorichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inorichi/subscriptions","organizations_url":"https://api.github.com/users/inorichi/orgs","repos_url":"https://api.github.com/users/inorichi/repos","events_url":"https://api.github.com/users/inorichi/events{/privacy}","received_events_url":"https://api.github.com/users/inorichi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-04T01:45:45Z","updated_at":"2016-05-24T00:17:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/inorichi/tachiyomi/pulls/239","html_url":"https://github.com/inorichi/tachiyomi/pull/239","diff_url":"https://github.com/inorichi/tachiyomi/pull/239.diff","patch_url":"https://github.com/inorichi/tachiyomi/pull/239.patch"},"body":"Now the app can read custom sites from a YAML file:\r\n[Example for mangafox](https://github.com/inorichi/tachiyomi/files/201654/mangafox.txt)\r\n[Example for mangahere](https://github.com/inorichi/tachiyomi/files/201655/mangahere.txt)\r\n\r\nThey have to be placed under `/sdcard/Tachiyomi/parsers/[site].yml` (It's important to have the `.yml` extension). \r\n\r\nMost sites could use this method instead of hardcoding them in the app, but they are very limited at the moment (no support for login, custom chapter recognition, etc...)\r\n\r\nOld sources have to be implemented with the new source, either as a YAML file or hardcoded, and if possible with the former (like mangafox and mangahere).\r\n\r\nNote the YAML parser is probably not finished and it can change at any moment. I will improve/document it these days.\r\n"},"comment":{"url":"https://api.github.com/repos/inorichi/tachiyomi/issues/comments/221133124","html_url":"https://github.com/inorichi/tachiyomi/pull/239#issuecomment-221133124","issue_url":"https://api.github.com/repos/inorichi/tachiyomi/issues/239","id":221133124,"user":{"login":"inorichi","id":3521738,"avatar_url":"https://avatars.githubusercontent.com/u/3521738?v=3","gravatar_id":"","url":"https://api.github.com/users/inorichi","html_url":"https://github.com/inorichi","followers_url":"https://api.github.com/users/inorichi/followers","following_url":"https://api.github.com/users/inorichi/following{/other_user}","gists_url":"https://api.github.com/users/inorichi/gists{/gist_id}","starred_url":"https://api.github.com/users/inorichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inorichi/subscriptions","organizations_url":"https://api.github.com/users/inorichi/orgs","repos_url":"https://api.github.com/users/inorichi/repos","events_url":"https://api.github.com/users/inorichi/events{/privacy}","received_events_url":"https://api.github.com/users/inorichi/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T00:17:57Z","updated_at":"2016-05-24T00:17:57Z","body":"Finally rebased this monster. I'll test this PR for a bit (2 or 3 days maybe) and make sure everything is still fine. \r\n\r\nGiven that chapter recognition isn't required anymore, I have to show an alert dialog when the user installs the new version telling him to update the library (in order to sync the chapters' order with the original source). I'll try to find a nice solution for this while I test the PR."}}
{"actor":{"display_login":"inorichi"}}