{"action":"created","issue":{"url":"https://api.github.com/repos/sealemar/BingRewards/issues/142","labels_url":"https://api.github.com/repos/sealemar/BingRewards/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/sealemar/BingRewards/issues/142/comments","events_url":"https://api.github.com/repos/sealemar/BingRewards/issues/142/events","html_url":"https://github.com/sealemar/BingRewards/issues/142","id":85714209,"number":142,"title":"Custom user-agents","user":{"login":"EMSww","id":12772103,"avatar_url":"https://avatars.githubusercontent.com/u/12772103?v=3","gravatar_id":"","url":"https://api.github.com/users/EMSww","html_url":"https://github.com/EMSww","followers_url":"https://api.github.com/users/EMSww/followers","following_url":"https://api.github.com/users/EMSww/following{/other_user}","gists_url":"https://api.github.com/users/EMSww/gists{/gist_id}","starred_url":"https://api.github.com/users/EMSww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EMSww/subscriptions","organizations_url":"https://api.github.com/users/EMSww/orgs","repos_url":"https://api.github.com/users/EMSww/repos","events_url":"https://api.github.com/users/EMSww/events{/privacy}","received_events_url":"https://api.github.com/users/EMSww/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-06T07:03:44Z","updated_at":"2015-06-09T15:43:57Z","closed_at":null,"body":"Shouldn't each user have its own user agent? I think it would be more realistic than switching all the times. "},"comment":{"url":"https://api.github.com/repos/sealemar/BingRewards/issues/comments/110407899","html_url":"https://github.com/sealemar/BingRewards/issues/142#issuecomment-110407899","issue_url":"https://api.github.com/repos/sealemar/BingRewards/issues/142","id":110407899,"user":{"login":"iRobie","id":370215,"avatar_url":"https://avatars.githubusercontent.com/u/370215?v=3","gravatar_id":"","url":"https://api.github.com/users/iRobie","html_url":"https://github.com/iRobie","followers_url":"https://api.github.com/users/iRobie/followers","following_url":"https://api.github.com/users/iRobie/following{/other_user}","gists_url":"https://api.github.com/users/iRobie/gists{/gist_id}","starred_url":"https://api.github.com/users/iRobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iRobie/subscriptions","organizations_url":"https://api.github.com/users/iRobie/orgs","repos_url":"https://api.github.com/users/iRobie/repos","events_url":"https://api.github.com/users/iRobie/events{/privacy}","received_events_url":"https://api.github.com/users/iRobie/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T15:43:57Z","updated_at":"2015-06-09T15:43:57Z","body":"The way I implemented this was here: https://github.com/iRobie/BingRewards/commit/28c588e52b317fae0919ef610b465bbc564d3930\r\n\r\nThe theory:\r\nEach account has an account index (the order of account in config.xml)\r\nWhen assigning a User Agent, the user agent is based on this account index:\r\n+        pcagent = indexnumber%len(USER_AGENTS_PC)\r\n+        mobileagent = indexnumber%len(USER_AGENTS_MOBILE)\r\n\r\nThat way, on each assignment, each account gets the same PC and Mobile user agent as previously assigned.\r\n"}}