{"action":"created","issue":{"url":"https://api.github.com/repos/speric/kindle-highlights/issues/21","repository_url":"https://api.github.com/repos/speric/kindle-highlights","labels_url":"https://api.github.com/repos/speric/kindle-highlights/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/speric/kindle-highlights/issues/21/comments","events_url":"https://api.github.com/repos/speric/kindle-highlights/issues/21/events","html_url":"https://github.com/speric/kindle-highlights/issues/21","id":302140899,"number":21,"title":"Nothing downloaded and no error message","user":{"login":"woopla","id":968455,"avatar_url":"https://avatars2.githubusercontent.com/u/968455?v=4","gravatar_id":"","url":"https://api.github.com/users/woopla","html_url":"https://github.com/woopla","followers_url":"https://api.github.com/users/woopla/followers","following_url":"https://api.github.com/users/woopla/following{/other_user}","gists_url":"https://api.github.com/users/woopla/gists{/gist_id}","starred_url":"https://api.github.com/users/woopla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woopla/subscriptions","organizations_url":"https://api.github.com/users/woopla/orgs","repos_url":"https://api.github.com/users/woopla/repos","events_url":"https://api.github.com/users/woopla/events{/privacy}","received_events_url":"https://api.github.com/users/woopla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-05T00:49:55Z","updated_at":"2018-03-06T02:15:06Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI'm modifying [this script](https://github.com/tobi/highlights) to work with v2.0.1 of `kindle-highlights`, but nothing happens. I've got a small test script, and it returns a book count of 0:\r\n```ruby\r\nrequire 'kindle_highlights'\r\nrequire 'htmlentities'\r\n\r\nhtml = HTMLEntities.new\r\nkindle = KindleHighlights::Client.new(email_address: ENV[\"AMAZON_USER\"],\r\n                                          password: ENV[\"AMAZON_PASS\"])\r\n@highlights = []\r\n\r\np kindle.books.count\r\n\r\nkindle.books.each do |book|\r\n    kindle.highlights_for(book.asin).each do |highlight|\r\n        highlight[\"book\"] = html.decode(book.title)\r\n        highlight[\"highlight\"] = html.decode(highlight[\"highlight\"])\r\n        @highlights << highlight\r\n    end\r\nend\r\n\r\np @highlights\r\n```\r\n\r\nI'm 100% that my Amazon email and password are correct. I ran the login + book count part in `irb`, no error is returned there.\r\n\r\nDo you know if Amazon made further changes?\r\n\r\nThanks,\r\n\r\nClement"},"comment":{"url":"https://api.github.com/repos/speric/kindle-highlights/issues/comments/370637267","html_url":"https://github.com/speric/kindle-highlights/issues/21#issuecomment-370637267","issue_url":"https://api.github.com/repos/speric/kindle-highlights/issues/21","id":370637267,"user":{"login":"woopla","id":968455,"avatar_url":"https://avatars2.githubusercontent.com/u/968455?v=4","gravatar_id":"","url":"https://api.github.com/users/woopla","html_url":"https://github.com/woopla","followers_url":"https://api.github.com/users/woopla/followers","following_url":"https://api.github.com/users/woopla/following{/other_user}","gists_url":"https://api.github.com/users/woopla/gists{/gist_id}","starred_url":"https://api.github.com/users/woopla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woopla/subscriptions","organizations_url":"https://api.github.com/users/woopla/orgs","repos_url":"https://api.github.com/users/woopla/repos","events_url":"https://api.github.com/users/woopla/events{/privacy}","received_events_url":"https://api.github.com/users/woopla/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T02:15:06Z","updated_at":"2018-03-06T02:15:06Z","author_association":"NONE","body":"OK, found the problem. Mechanize hits a page \"Please confirm your identity\". I've opened PR #22, any code feedback welcome, it's my first contrib to a Ruby project 😄 "}}
{"actor":{"display_login":"woopla"}}