{"action":"created","issue":{"url":"https://api.github.com/repos/mloesch/sickle/issues/25","repository_url":"https://api.github.com/repos/mloesch/sickle","labels_url":"https://api.github.com/repos/mloesch/sickle/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/mloesch/sickle/issues/25/comments","events_url":"https://api.github.com/repos/mloesch/sickle/issues/25/events","html_url":"https://github.com/mloesch/sickle/issues/25","id":347818258,"node_id":"MDU6SXNzdWUzNDc4MTgyNTg=","number":25,"title":"Sickle throws an exception if resumption token was repeated","user":{"login":"danielopitz","id":1937970,"node_id":"MDQ6VXNlcjE5Mzc5NzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1937970?v=4","gravatar_id":"","url":"https://api.github.com/users/danielopitz","html_url":"https://github.com/danielopitz","followers_url":"https://api.github.com/users/danielopitz/followers","following_url":"https://api.github.com/users/danielopitz/following{/other_user}","gists_url":"https://api.github.com/users/danielopitz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielopitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielopitz/subscriptions","organizations_url":"https://api.github.com/users/danielopitz/orgs","repos_url":"https://api.github.com/users/danielopitz/repos","events_url":"https://api.github.com/users/danielopitz/events{/privacy}","received_events_url":"https://api.github.com/users/danielopitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mloesch/sickle/milestones/2","html_url":"https://github.com/mloesch/sickle/milestone/2","labels_url":"https://api.github.com/repos/mloesch/sickle/milestones/2/labels","id":3548927,"node_id":"MDk6TWlsZXN0b25lMzU0ODkyNw==","number":2,"title":"0.6.4","description":null,"creator":{"login":"mloesch","id":195427,"node_id":"MDQ6VXNlcjE5NTQyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/195427?v=4","gravatar_id":"","url":"https://api.github.com/users/mloesch","html_url":"https://github.com/mloesch","followers_url":"https://api.github.com/users/mloesch/followers","following_url":"https://api.github.com/users/mloesch/following{/other_user}","gists_url":"https://api.github.com/users/mloesch/gists{/gist_id}","starred_url":"https://api.github.com/users/mloesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mloesch/subscriptions","organizations_url":"https://api.github.com/users/mloesch/orgs","repos_url":"https://api.github.com/users/mloesch/repos","events_url":"https://api.github.com/users/mloesch/events{/privacy}","received_events_url":"https://api.github.com/users/mloesch/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-08-06T12:57:01Z","updated_at":"2018-08-06T12:57:01Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-08-06T08:00:07Z","updated_at":"2018-08-07T05:43:45Z","closed_at":null,"author_association":"NONE","body":"I have a problem with harvesting a OAI repository. After the last valid record set is downloaded, the repository (DSpace based) sends the same resumption token. This makes Sickle send another request with no metadata_prefix, which causes an error with the repository. Any idea how to fix this?\r\n\r\n```\r\nfrom sickle import Sickle\r\nfrom sickle.iterator import OAIResponseIterator\r\n\r\nsickle = Sickle('https://www.ssoar.info/OAIHandler/request', iterator=OAIResponseIterator)\r\n\r\nfor record_set in sickle.ListRecords(metadataPrefix='oai_genios', ignore_deleted=True):\r\n    print(record_set)\r\n```"},"comment":{"url":"https://api.github.com/repos/mloesch/sickle/issues/comments/410939974","html_url":"https://github.com/mloesch/sickle/issues/25#issuecomment-410939974","issue_url":"https://api.github.com/repos/mloesch/sickle/issues/25","id":410939974,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDkzOTk3NA==","user":{"login":"danielopitz","id":1937970,"node_id":"MDQ6VXNlcjE5Mzc5NzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1937970?v=4","gravatar_id":"","url":"https://api.github.com/users/danielopitz","html_url":"https://github.com/danielopitz","followers_url":"https://api.github.com/users/danielopitz/followers","following_url":"https://api.github.com/users/danielopitz/following{/other_user}","gists_url":"https://api.github.com/users/danielopitz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielopitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielopitz/subscriptions","organizations_url":"https://api.github.com/users/danielopitz/orgs","repos_url":"https://api.github.com/users/danielopitz/repos","events_url":"https://api.github.com/users/danielopitz/events{/privacy}","received_events_url":"https://api.github.com/users/danielopitz/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T05:43:45Z","updated_at":"2018-08-07T05:43:45Z","author_association":"NONE","body":"Thanks for the response, the workaround and the fix!"}}
{"actor":{"display_login":"danielopitz"}}