{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/1","id":97261104,"html_url":"https://github.com/jkaberg/CouchPotatoServer/pull/1","diff_url":"https://github.com/jkaberg/CouchPotatoServer/pull/1.diff","patch_url":"https://github.com/jkaberg/CouchPotatoServer/pull/1.patch","issue_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues/1","number":1,"state":"closed","locked":false,"title":"PassThePopcorn URL update to prevent API 403 error","user":{"login":"jkaberg","id":613363,"avatar_url":"https://avatars.githubusercontent.com/u/613363?v=3","gravatar_id":"","url":"https://api.github.com/users/jkaberg","html_url":"https://github.com/jkaberg","followers_url":"https://api.github.com/users/jkaberg/followers","following_url":"https://api.github.com/users/jkaberg/following{/other_user}","gists_url":"https://api.github.com/users/jkaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jkaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkaberg/subscriptions","organizations_url":"https://api.github.com/users/jkaberg/orgs","repos_url":"https://api.github.com/users/jkaberg/repos","events_url":"https://api.github.com/users/jkaberg/events{/privacy}","received_events_url":"https://api.github.com/users/jkaberg/received_events","type":"User","site_admin":false},"body":"### Description of what this fixes:\r\n...\r\n\r\n### Related issues:\r\n...\r\n\r\nPassThePopcorn recently changed their api endpoints to tls.passthepopcorn.me to passthepopcorn.me . Unless you change these URLs, you get this issue:\r\n\r\n```\r\n12-05 05:08:17 ERROR\r\n[hpotato.core.plugins.base] Failed opening url in PassThePopcorn: https://tls.passthepopcorn.me/ajax.php?action=login Traceback (most recent call last): HTTPError: 403 Client Error: Forbidden for url: https://passthepopcorn.me/ajax.php?action=login\r\n12-05 05:08:17 ERROR\r\n[edia._base.providers.base] Failed to login PassThePopcorn: Traceback (most recent call last): File \"/home/couchpotato/CouchPotatoServer/couchpotato/core/media/_base/providers/base.py\", line 163, in login output = self.urlopen(self.urls['login'], data = self.getLoginParams()) File \"/home/couchpotato/CouchPotatoServer/couchpotato/core/plugins/base.py\", line 227, in urlopen response.raise_for_status() File \"/home/couchpotato/CouchPotatoServer/libs/requests/models.py\", line 837, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 403 Client Error: Forbidden for url: https://passthepopcorn.me/ajax.php?action=login```\r\n\r\nThere is a thread at their forum; titled: \"HTTPS Migration preventing CouchPotato Login\", and it's told that this patch fixes this issue. This is required due to migration and their tracker update, and it is shared there. So all credits to the poster. I'm simply making a pull request for the fix, and further investigation if required.\r\n\r\nThanks in advance,","created_at":"2016-12-09T07:08:01Z","updated_at":"2016-12-09T07:08:07Z","closed_at":"2016-12-09T07:08:07Z","merged_at":"2016-12-09T07:08:07Z","merge_commit_sha":"99861717c3c7bd705440540fbc6c853b781bc5d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues/1/comments","statuses_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/statuses/78a474995251264bc6203c2bb374346a059b0d06","head":{"label":"lattedesu:patch-1","ref":"patch-1","sha":"78a474995251264bc6203c2bb374346a059b0d06","user":{"login":"lattedesu","id":20868080,"avatar_url":"https://avatars.githubusercontent.com/u/20868080?v=3","gravatar_id":"","url":"https://api.github.com/users/lattedesu","html_url":"https://github.com/lattedesu","followers_url":"https://api.github.com/users/lattedesu/followers","following_url":"https://api.github.com/users/lattedesu/following{/other_user}","gists_url":"https://api.github.com/users/lattedesu/gists{/gist_id}","starred_url":"https://api.github.com/users/lattedesu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lattedesu/subscriptions","organizations_url":"https://api.github.com/users/lattedesu/orgs","repos_url":"https://api.github.com/users/lattedesu/repos","events_url":"https://api.github.com/users/lattedesu/events{/privacy}","received_events_url":"https://api.github.com/users/lattedesu/received_events","type":"User","site_admin":false},"repo":{"id":75613042,"name":"CouchPotatoServer","full_name":"lattedesu/CouchPotatoServer","owner":{"login":"lattedesu","id":20868080,"avatar_url":"https://avatars.githubusercontent.com/u/20868080?v=3","gravatar_id":"","url":"https://api.github.com/users/lattedesu","html_url":"https://github.com/lattedesu","followers_url":"https://api.github.com/users/lattedesu/followers","following_url":"https://api.github.com/users/lattedesu/following{/other_user}","gists_url":"https://api.github.com/users/lattedesu/gists{/gist_id}","starred_url":"https://api.github.com/users/lattedesu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lattedesu/subscriptions","organizations_url":"https://api.github.com/users/lattedesu/orgs","repos_url":"https://api.github.com/users/lattedesu/repos","events_url":"https://api.github.com/users/lattedesu/events{/privacy}","received_events_url":"https://api.github.com/users/lattedesu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lattedesu/CouchPotatoServer","description":"Automatic Movie Downloading via NZBs & Torrents","fork":true,"url":"https://api.github.com/repos/lattedesu/CouchPotatoServer","forks_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/forks","keys_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/teams","hooks_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/hooks","issue_events_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/issues/events{/number}","events_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/events","assignees_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/assignees{/user}","branches_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/branches{/branch}","tags_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/tags","blobs_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/statuses/{sha}","languages_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/languages","stargazers_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/stargazers","contributors_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/contributors","subscribers_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/subscribers","subscription_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/subscription","commits_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/contents/{+path}","compare_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/merges","archive_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/downloads","issues_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/issues{/number}","pulls_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/pulls{/number}","milestones_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/milestones{/number}","notifications_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/labels{/name}","releases_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/releases{/id}","deployments_url":"https://api.github.com/repos/lattedesu/CouchPotatoServer/deployments","created_at":"2016-12-05T10:14:34Z","updated_at":"2016-12-05T10:14:38Z","pushed_at":"2016-12-05T10:24:05Z","git_url":"git://github.com/lattedesu/CouchPotatoServer.git","ssh_url":"git@github.com:lattedesu/CouchPotatoServer.git","clone_url":"https://github.com/lattedesu/CouchPotatoServer.git","svn_url":"https://github.com/lattedesu/CouchPotatoServer","homepage":"couchpota.to","size":22154,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jkaberg:master","ref":"master","sha":"405779047035723bd015fdd51b19379884f53b36","user":{"login":"jkaberg","id":613363,"avatar_url":"https://avatars.githubusercontent.com/u/613363?v=3","gravatar_id":"","url":"https://api.github.com/users/jkaberg","html_url":"https://github.com/jkaberg","followers_url":"https://api.github.com/users/jkaberg/followers","following_url":"https://api.github.com/users/jkaberg/following{/other_user}","gists_url":"https://api.github.com/users/jkaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jkaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkaberg/subscriptions","organizations_url":"https://api.github.com/users/jkaberg/orgs","repos_url":"https://api.github.com/users/jkaberg/repos","events_url":"https://api.github.com/users/jkaberg/events{/privacy}","received_events_url":"https://api.github.com/users/jkaberg/received_events","type":"User","site_admin":false},"repo":{"id":76010762,"name":"CouchPotatoServer","full_name":"jkaberg/CouchPotatoServer","owner":{"login":"jkaberg","id":613363,"avatar_url":"https://avatars.githubusercontent.com/u/613363?v=3","gravatar_id":"","url":"https://api.github.com/users/jkaberg","html_url":"https://github.com/jkaberg","followers_url":"https://api.github.com/users/jkaberg/followers","following_url":"https://api.github.com/users/jkaberg/following{/other_user}","gists_url":"https://api.github.com/users/jkaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jkaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkaberg/subscriptions","organizations_url":"https://api.github.com/users/jkaberg/orgs","repos_url":"https://api.github.com/users/jkaberg/repos","events_url":"https://api.github.com/users/jkaberg/events{/privacy}","received_events_url":"https://api.github.com/users/jkaberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jkaberg/CouchPotatoServer","description":"Automatic Movie Downloading via NZBs & Torrents","fork":true,"url":"https://api.github.com/repos/jkaberg/CouchPotatoServer","forks_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/forks","keys_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/teams","hooks_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/hooks","issue_events_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues/events{/number}","events_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/events","assignees_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/assignees{/user}","branches_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/branches{/branch}","tags_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/tags","blobs_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/statuses/{sha}","languages_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/languages","stargazers_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/stargazers","contributors_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/contributors","subscribers_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/subscribers","subscription_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/subscription","commits_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/contents/{+path}","compare_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/merges","archive_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/downloads","issues_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues{/number}","pulls_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls{/number}","milestones_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/milestones{/number}","notifications_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/labels{/name}","releases_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/releases{/id}","deployments_url":"https://api.github.com/repos/jkaberg/CouchPotatoServer/deployments","created_at":"2016-12-09T07:06:37Z","updated_at":"2016-12-09T07:06:41Z","pushed_at":"2016-12-09T07:08:07Z","git_url":"git://github.com/jkaberg/CouchPotatoServer.git","ssh_url":"git@github.com:jkaberg/CouchPotatoServer.git","clone_url":"https://github.com/jkaberg/CouchPotatoServer.git","svn_url":"https://github.com/jkaberg/CouchPotatoServer","homepage":"couchpota.to","size":44005,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/1"},"html":{"href":"https://github.com/jkaberg/CouchPotatoServer/pull/1"},"issue":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues/1"},"comments":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jkaberg/CouchPotatoServer/statuses/78a474995251264bc6203c2bb374346a059b0d06"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jkaberg","id":613363,"avatar_url":"https://avatars.githubusercontent.com/u/613363?v=3","gravatar_id":"","url":"https://api.github.com/users/jkaberg","html_url":"https://github.com/jkaberg","followers_url":"https://api.github.com/users/jkaberg/followers","following_url":"https://api.github.com/users/jkaberg/following{/other_user}","gists_url":"https://api.github.com/users/jkaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jkaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkaberg/subscriptions","organizations_url":"https://api.github.com/users/jkaberg/orgs","repos_url":"https://api.github.com/users/jkaberg/repos","events_url":"https://api.github.com/users/jkaberg/events{/privacy}","received_events_url":"https://api.github.com/users/jkaberg/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"jkaberg"}}