{"action":"opened","issue":{"url":"https://api.github.com/repos/machawk1/wail/issues/283","repository_url":"https://api.github.com/repos/machawk1/wail","labels_url":"https://api.github.com/repos/machawk1/wail/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/machawk1/wail/issues/283/comments","events_url":"https://api.github.com/repos/machawk1/wail/issues/283/events","html_url":"https://github.com/machawk1/wail/issues/283","id":282467063,"number":283,"title":"Wrong memento count","user":{"login":"ibnesayeed","id":65147,"avatar_url":"https://avatars2.githubusercontent.com/u/65147?v=4","gravatar_id":"","url":"https://api.github.com/users/ibnesayeed","html_url":"https://github.com/ibnesayeed","followers_url":"https://api.github.com/users/ibnesayeed/followers","following_url":"https://api.github.com/users/ibnesayeed/following{/other_user}","gists_url":"https://api.github.com/users/ibnesayeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ibnesayeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibnesayeed/subscriptions","organizations_url":"https://api.github.com/users/ibnesayeed/orgs","repos_url":"https://api.github.com/users/ibnesayeed/repos","events_url":"https://api.github.com/users/ibnesayeed/events{/privacy}","received_events_url":"https://api.github.com/users/ibnesayeed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-15T15:45:39Z","updated_at":"2017-12-15T15:45:39Z","closed_at":null,"author_association":"NONE","body":"https://github.com/machawk1/wail/blob/76a6d4dc41ba17eb0b7ba65d6da2322c7f97c0b2/bundledApps/WAIL.py#L397\r\n\r\nThis rudimentary approach of counting the occurrence of the term `memento` in the response could result in wrong memento count when the term appears in URI-Ms. This could happen for two reasons:\r\n\r\n* the URI-R contains the term such as `mementoweb.org`\r\n* some archives have memento in their path such as `/memento/<datetime>/<URI-R>`\r\n\r\nA more reliable approach would be to count it when the TM is processed for counting archives. Currently the TM is being processed twice, which can be slow for big TMs."}}
{"actor":{"display_login":"ibnesayeed"}}