{"action":"created","issue":{"url":"https://api.github.com/repos/thumbor/remotecv/issues/6","labels_url":"https://api.github.com/repos/thumbor/remotecv/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/thumbor/remotecv/issues/6/comments","events_url":"https://api.github.com/repos/thumbor/remotecv/issues/6/events","html_url":"https://github.com/thumbor/remotecv/issues/6","id":126311695,"number":6,"title":"Getting 403 errors with RemoteCV","user":{"login":"assembledadam","id":729240,"avatar_url":"https://avatars.githubusercontent.com/u/729240?v=3","gravatar_id":"","url":"https://api.github.com/users/assembledadam","html_url":"https://github.com/assembledadam","followers_url":"https://api.github.com/users/assembledadam/followers","following_url":"https://api.github.com/users/assembledadam/following{/other_user}","gists_url":"https://api.github.com/users/assembledadam/gists{/gist_id}","starred_url":"https://api.github.com/users/assembledadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembledadam/subscriptions","organizations_url":"https://api.github.com/users/assembledadam/orgs","repos_url":"https://api.github.com/users/assembledadam/repos","events_url":"https://api.github.com/users/assembledadam/events{/privacy}","received_events_url":"https://api.github.com/users/assembledadam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-13T00:33:36Z","updated_at":"2016-01-13T17:20:32Z","closed_at":null,"body":"Turns out that there's quite a lot of servers blocking requests for content by bots (as identified by the user agent).  It appears remoteCV is utilising Python-urllib for retrieving images - specifically in my case 'Python-urllib/2.7'. \r\n\r\nE.g. Cloudflare has this in it's default list whenever the panel is set to reject requests from bots. Causing me quite a few pains at the moment.\r\n\r\nSolution: can we bake in some config option to remoteCV/thumbor to alter the user agent?  I see it exists for the thumbor's http loader but not the detector's loader.\r\n\r\nI can have a crack but I've written almost nothing in Python before so will take me a little longer!\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/thumbor/remotecv/issues/comments/171369688","html_url":"https://github.com/thumbor/remotecv/issues/6#issuecomment-171369688","issue_url":"https://api.github.com/repos/thumbor/remotecv/issues/6","id":171369688,"user":{"login":"guilhermef","id":101073,"avatar_url":"https://avatars.githubusercontent.com/u/101073?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermef","html_url":"https://github.com/guilhermef","followers_url":"https://api.github.com/users/guilhermef/followers","following_url":"https://api.github.com/users/guilhermef/following{/other_user}","gists_url":"https://api.github.com/users/guilhermef/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermef/subscriptions","organizations_url":"https://api.github.com/users/guilhermef/orgs","repos_url":"https://api.github.com/users/guilhermef/repos","events_url":"https://api.github.com/users/guilhermef/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermef/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T17:20:32Z","updated_at":"2016-01-13T17:20:32Z","body":"You can add a new path to your PYTHONPATH using an environment variable.\r\n```\r\n$PYTHONPATH=/my/module/path:$PYTHONPATH start_worker"}}