{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/6","id":39763188,"html_url":"https://github.com/marianosimone/epub-thumbnailer/pull/6","diff_url":"https://github.com/marianosimone/epub-thumbnailer/pull/6.diff","patch_url":"https://github.com/marianosimone/epub-thumbnailer/pull/6.patch","issue_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues/6","number":6,"state":"closed","locked":false,"title":"Discover cover image in meta tags","user":{"login":"optroodt","id":1515592,"avatar_url":"https://avatars.githubusercontent.com/u/1515592?v=3","gravatar_id":"","url":"https://api.github.com/users/optroodt","html_url":"https://github.com/optroodt","followers_url":"https://api.github.com/users/optroodt/followers","following_url":"https://api.github.com/users/optroodt/following{/other_user}","gists_url":"https://api.github.com/users/optroodt/gists{/gist_id}","starred_url":"https://api.github.com/users/optroodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optroodt/subscriptions","organizations_url":"https://api.github.com/users/optroodt/orgs","repos_url":"https://api.github.com/users/optroodt/repos","events_url":"https://api.github.com/users/optroodt/events{/privacy}","received_events_url":"https://api.github.com/users/optroodt/received_events","type":"User","site_admin":false},"body":"Hi, I found that not all epubs define the cover by putting 'cover' in the id of an item tag. The thumbailer then just picks an image, which is not the cover.\r\nSome define the id of the cover image in a meta tag, the actual cover is then found in an item tag.","created_at":"2015-07-12T14:55:50Z","updated_at":"2015-07-15T03:46:40Z","closed_at":"2015-07-15T03:46:40Z","merged_at":"2015-07-15T03:46:40Z","merge_commit_sha":"05ed798e5822d24366a2129b718ff13c36c1b65e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/6/commits","review_comments_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/6/comments","review_comment_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues/6/comments","statuses_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/statuses/1c3c0abc5eb3d15af9ef081f95e361e0c54418e5","head":{"label":"optroodt:master","ref":"master","sha":"1c3c0abc5eb3d15af9ef081f95e361e0c54418e5","user":{"login":"optroodt","id":1515592,"avatar_url":"https://avatars.githubusercontent.com/u/1515592?v=3","gravatar_id":"","url":"https://api.github.com/users/optroodt","html_url":"https://github.com/optroodt","followers_url":"https://api.github.com/users/optroodt/followers","following_url":"https://api.github.com/users/optroodt/following{/other_user}","gists_url":"https://api.github.com/users/optroodt/gists{/gist_id}","starred_url":"https://api.github.com/users/optroodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optroodt/subscriptions","organizations_url":"https://api.github.com/users/optroodt/orgs","repos_url":"https://api.github.com/users/optroodt/repos","events_url":"https://api.github.com/users/optroodt/events{/privacy}","received_events_url":"https://api.github.com/users/optroodt/received_events","type":"User","site_admin":false},"repo":{"id":38965268,"name":"epub-thumbnailer","full_name":"optroodt/epub-thumbnailer","owner":{"login":"optroodt","id":1515592,"avatar_url":"https://avatars.githubusercontent.com/u/1515592?v=3","gravatar_id":"","url":"https://api.github.com/users/optroodt","html_url":"https://github.com/optroodt","followers_url":"https://api.github.com/users/optroodt/followers","following_url":"https://api.github.com/users/optroodt/following{/other_user}","gists_url":"https://api.github.com/users/optroodt/gists{/gist_id}","starred_url":"https://api.github.com/users/optroodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optroodt/subscriptions","organizations_url":"https://api.github.com/users/optroodt/orgs","repos_url":"https://api.github.com/users/optroodt/repos","events_url":"https://api.github.com/users/optroodt/events{/privacy}","received_events_url":"https://api.github.com/users/optroodt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/optroodt/epub-thumbnailer","description":"Script to extract the cover of an epub book and create a thumbnail for it","fork":true,"url":"https://api.github.com/repos/optroodt/epub-thumbnailer","forks_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/forks","keys_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/teams","hooks_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/hooks","issue_events_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/issues/events{/number}","events_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/events","assignees_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/assignees{/user}","branches_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/branches{/branch}","tags_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/tags","blobs_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/statuses/{sha}","languages_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/languages","stargazers_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/stargazers","contributors_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/contributors","subscribers_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/subscribers","subscription_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/subscription","commits_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/contents/{+path}","compare_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/merges","archive_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/downloads","issues_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/issues{/number}","pulls_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/pulls{/number}","milestones_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/milestones{/number}","notifications_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/labels{/name}","releases_url":"https://api.github.com/repos/optroodt/epub-thumbnailer/releases{/id}","created_at":"2015-07-12T14:45:26Z","updated_at":"2015-07-12T14:45:26Z","pushed_at":"2015-07-12T14:48:47Z","git_url":"git://github.com/optroodt/epub-thumbnailer.git","ssh_url":"git@github.com:optroodt/epub-thumbnailer.git","clone_url":"https://github.com/optroodt/epub-thumbnailer.git","svn_url":"https://github.com/optroodt/epub-thumbnailer","homepage":"","size":187,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"marianosimone:master","ref":"master","sha":"5d6e2ff17c23a14a81721ccbadc5220b4a569e57","user":{"login":"marianosimone","id":104916,"avatar_url":"https://avatars.githubusercontent.com/u/104916?v=3","gravatar_id":"","url":"https://api.github.com/users/marianosimone","html_url":"https://github.com/marianosimone","followers_url":"https://api.github.com/users/marianosimone/followers","following_url":"https://api.github.com/users/marianosimone/following{/other_user}","gists_url":"https://api.github.com/users/marianosimone/gists{/gist_id}","starred_url":"https://api.github.com/users/marianosimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianosimone/subscriptions","organizations_url":"https://api.github.com/users/marianosimone/orgs","repos_url":"https://api.github.com/users/marianosimone/repos","events_url":"https://api.github.com/users/marianosimone/events{/privacy}","received_events_url":"https://api.github.com/users/marianosimone/received_events","type":"User","site_admin":false},"repo":{"id":743424,"name":"epub-thumbnailer","full_name":"marianosimone/epub-thumbnailer","owner":{"login":"marianosimone","id":104916,"avatar_url":"https://avatars.githubusercontent.com/u/104916?v=3","gravatar_id":"","url":"https://api.github.com/users/marianosimone","html_url":"https://github.com/marianosimone","followers_url":"https://api.github.com/users/marianosimone/followers","following_url":"https://api.github.com/users/marianosimone/following{/other_user}","gists_url":"https://api.github.com/users/marianosimone/gists{/gist_id}","starred_url":"https://api.github.com/users/marianosimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianosimone/subscriptions","organizations_url":"https://api.github.com/users/marianosimone/orgs","repos_url":"https://api.github.com/users/marianosimone/repos","events_url":"https://api.github.com/users/marianosimone/events{/privacy}","received_events_url":"https://api.github.com/users/marianosimone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marianosimone/epub-thumbnailer","description":"Script to extract the cover of an epub book and create a thumbnail for it","fork":false,"url":"https://api.github.com/repos/marianosimone/epub-thumbnailer","forks_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/forks","keys_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/teams","hooks_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/hooks","issue_events_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues/events{/number}","events_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/events","assignees_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/assignees{/user}","branches_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/branches{/branch}","tags_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/tags","blobs_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/statuses/{sha}","languages_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/languages","stargazers_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/stargazers","contributors_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/contributors","subscribers_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/subscribers","subscription_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/subscription","commits_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/contents/{+path}","compare_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/merges","archive_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/downloads","issues_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues{/number}","pulls_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls{/number}","milestones_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/milestones{/number}","notifications_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/labels{/name}","releases_url":"https://api.github.com/repos/marianosimone/epub-thumbnailer/releases{/id}","created_at":"2010-06-27T15:30:57Z","updated_at":"2015-06-22T13:49:52Z","pushed_at":"2015-07-15T03:46:40Z","git_url":"git://github.com/marianosimone/epub-thumbnailer.git","ssh_url":"git@github.com:marianosimone/epub-thumbnailer.git","clone_url":"https://github.com/marianosimone/epub-thumbnailer.git","svn_url":"https://github.com/marianosimone/epub-thumbnailer","homepage":"","size":285,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/6"},"html":{"href":"https://github.com/marianosimone/epub-thumbnailer/pull/6"},"issue":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues/6"},"comments":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/marianosimone/epub-thumbnailer/statuses/1c3c0abc5eb3d15af9ef081f95e361e0c54418e5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"marianosimone","id":104916,"avatar_url":"https://avatars.githubusercontent.com/u/104916?v=3","gravatar_id":"","url":"https://api.github.com/users/marianosimone","html_url":"https://github.com/marianosimone","followers_url":"https://api.github.com/users/marianosimone/followers","following_url":"https://api.github.com/users/marianosimone/following{/other_user}","gists_url":"https://api.github.com/users/marianosimone/gists{/gist_id}","starred_url":"https://api.github.com/users/marianosimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianosimone/subscriptions","organizations_url":"https://api.github.com/users/marianosimone/orgs","repos_url":"https://api.github.com/users/marianosimone/repos","events_url":"https://api.github.com/users/marianosimone/events{/privacy}","received_events_url":"https://api.github.com/users/marianosimone/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}