{"action":"created","issue":{"url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/103","labels_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/103/comments","events_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/103/events","html_url":"https://github.com/datadesk/python-documentcloud/issues/103","id":95227611,"number":103,"title":"remote URL specification of upload document not working","user":{"login":"scott2b","id":307713,"avatar_url":"https://avatars.githubusercontent.com/u/307713?v=3","gravatar_id":"","url":"https://api.github.com/users/scott2b","html_url":"https://github.com/scott2b","followers_url":"https://api.github.com/users/scott2b/followers","following_url":"https://api.github.com/users/scott2b/following{/other_user}","gists_url":"https://api.github.com/users/scott2b/gists{/gist_id}","starred_url":"https://api.github.com/users/scott2b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott2b/subscriptions","organizations_url":"https://api.github.com/users/scott2b/orgs","repos_url":"https://api.github.com/users/scott2b/repos","events_url":"https://api.github.com/users/scott2b/events{/privacy}","received_events_url":"https://api.github.com/users/scott2b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-15T15:49:13Z","updated_at":"2015-07-15T21:52:20Z","closed_at":null,"body":"Per DocumentCloud API documentation (https://www.documentcloud.org/help/api#upload-documents) for upload: \"You can either upload a local file using a standard multi-part upload, or tell DocumentCloud to download the file from a public server by passing a URL.\" And, in the parameter description for the file parameter: \"either the contents of a local file, or the URL where the document can be found\".\r\n\r\nHowever, with python-documentcloud the option to pass a URL does not seem to be supported. I am getting the following error:\r\n\r\nFileNotFoundError: [Errno 2] No such file or directory: 'http://ord.legistar.com/Chicago/attachments/e3a0cbcb-044d-4ec3-9848-23c5692b1943.pdf'"},"comment":{"url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/comments/121760790","html_url":"https://github.com/datadesk/python-documentcloud/issues/103#issuecomment-121760790","issue_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/103","id":121760790,"user":{"login":"palewire","id":9993,"avatar_url":"https://avatars.githubusercontent.com/u/9993?v=3","gravatar_id":"","url":"https://api.github.com/users/palewire","html_url":"https://github.com/palewire","followers_url":"https://api.github.com/users/palewire/followers","following_url":"https://api.github.com/users/palewire/following{/other_user}","gists_url":"https://api.github.com/users/palewire/gists{/gist_id}","starred_url":"https://api.github.com/users/palewire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palewire/subscriptions","organizations_url":"https://api.github.com/users/palewire/orgs","repos_url":"https://api.github.com/users/palewire/repos","events_url":"https://api.github.com/users/palewire/events{/privacy}","received_events_url":"https://api.github.com/users/palewire/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T21:52:20Z","updated_at":"2015-07-15T21:52:20Z","body":"I'm interested in any patches that make sense to you, though I haven't really thought through what we'd want to merge. I'll take a dip into the code myself a little bit this afternoon and see if I can scratch your itch."}}