{"action":"closed","issue":{"url":"https://api.github.com/repos/flyingrub/scdl/issues/162","repository_url":"https://api.github.com/repos/flyingrub/scdl","labels_url":"https://api.github.com/repos/flyingrub/scdl/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/flyingrub/scdl/issues/162/comments","events_url":"https://api.github.com/repos/flyingrub/scdl/issues/162/events","html_url":"https://github.com/flyingrub/scdl/issues/162","id":179564923,"number":162,"title":"Authentication issues after updating to 1.6","user":{"login":"winterflags","id":14942350,"avatar_url":"https://avatars.githubusercontent.com/u/14942350?v=3","gravatar_id":"","url":"https://api.github.com/users/winterflags","html_url":"https://github.com/winterflags","followers_url":"https://api.github.com/users/winterflags/followers","following_url":"https://api.github.com/users/winterflags/following{/other_user}","gists_url":"https://api.github.com/users/winterflags/gists{/gist_id}","starred_url":"https://api.github.com/users/winterflags/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winterflags/subscriptions","organizations_url":"https://api.github.com/users/winterflags/orgs","repos_url":"https://api.github.com/users/winterflags/repos","events_url":"https://api.github.com/users/winterflags/events{/privacy}","received_events_url":"https://api.github.com/users/winterflags/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-27T17:49:35Z","updated_at":"2016-09-27T18:07:55Z","closed_at":"2016-09-27T18:07:55Z","body":"I could use scdl before updating to 1.6, with the following command:\r\n\r\n`scdl -l https://soundcloud.com/myuser -f -c --addtofile --path my/dl/path`\r\n\r\nAfter updating, I get the error:\r\n\r\n```\r\n    raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.soundcloud.com/users/xxxxx/favorites?limit=200&offset=0&client_id=xxxxxxxxxxxxxxxxxxxxxx&linked_partitioning=1&oauth_token=\r\n```\r\n\r\nI tried to create a token and add it to `$HOME/.config/scdl/` with the contents:\r\n\r\n```\r\n[scdl]\r\nauth_token = 123-my-token-456\r\n```\r\n\r\nWhen running:\r\n\r\n`scdl me -f -c --addtofile --path my/dl/path`\r\n\r\nor\r\n\r\n`scdl -l me -f -c --addtofile --path my/dl/path`\r\n\r\nI get the error:\r\n\r\n`Are you sure scdl.cfg is in $HOME/.config/scdl/ ?`\r\n\r\n(I am pretty sure it is)."}}
{"actor":{"display_login":"flyingrub"}}