{"action":"created","issue":{"url":"https://api.github.com/repos/afragen/github-updater/issues/288","labels_url":"https://api.github.com/repos/afragen/github-updater/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/afragen/github-updater/issues/288/comments","events_url":"https://api.github.com/repos/afragen/github-updater/issues/288/events","html_url":"https://github.com/afragen/github-updater/issues/288","id":103992793,"number":288,"title":"Repo URL not correct","user":{"login":"nk2580","id":8423092,"avatar_url":"https://avatars.githubusercontent.com/u/8423092?v=3","gravatar_id":"","url":"https://api.github.com/users/nk2580","html_url":"https://github.com/nk2580","followers_url":"https://api.github.com/users/nk2580/followers","following_url":"https://api.github.com/users/nk2580/following{/other_user}","gists_url":"https://api.github.com/users/nk2580/gists{/gist_id}","starred_url":"https://api.github.com/users/nk2580/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nk2580/subscriptions","organizations_url":"https://api.github.com/users/nk2580/orgs","repos_url":"https://api.github.com/users/nk2580/repos","events_url":"https://api.github.com/users/nk2580/events{/privacy}","received_events_url":"https://api.github.com/users/nk2580/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-31T05:55:52Z","updated_at":"2015-08-31T18:52:07Z","closed_at":null,"body":"When downloading from a private Bit Bucket Repo the URL for the update omits the tag reference for the latest version.\r\n\r\ninstead of:\r\n/get/1.1.0.zip\r\n\r\nthe plugin looks for:\r\n/get/ .zip\r\n"},"comment":{"url":"https://api.github.com/repos/afragen/github-updater/issues/comments/136464237","html_url":"https://github.com/afragen/github-updater/issues/288#issuecomment-136464237","issue_url":"https://api.github.com/repos/afragen/github-updater/issues/288","id":136464237,"user":{"login":"KevinNortier","id":2699306,"avatar_url":"https://avatars.githubusercontent.com/u/2699306?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinNortier","html_url":"https://github.com/KevinNortier","followers_url":"https://api.github.com/users/KevinNortier/followers","following_url":"https://api.github.com/users/KevinNortier/following{/other_user}","gists_url":"https://api.github.com/users/KevinNortier/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinNortier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinNortier/subscriptions","organizations_url":"https://api.github.com/users/KevinNortier/orgs","repos_url":"https://api.github.com/users/KevinNortier/repos","events_url":"https://api.github.com/users/KevinNortier/events{/privacy}","received_events_url":"https://api.github.com/users/KevinNortier/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T18:52:07Z","updated_at":"2015-08-31T18:52:07Z","body":"I had the same problem and i was looking for the where the issue was.\r\n\r\nIt seems to wok by adding a:\r\n\t\tif ( empty( $this->type->branch ) ) {\r\n\t\t\t$this->type->branch = 'master';\r\n\t\t}\r\nto the construct_download_link function in the Bitbucket_API.php file. I added it before the other if-statements. \r\nI hope this is of help :)\r\n\r\nhttps://github.com/afragen/github-updater/blob/develop/src/GitHub_Updater/Bitbucket_API.php#L266"}}