{"action":"created","comment":{"url":"https://api.github.com/repos/mangaki/mangaki/pulls/comments/72771034","id":72771034,"diff_hunk":"@@ -32,6 +56,63 @@ def make_nsfw(self, request, queryset):\n         self.message_user(request, \"%s désormais NSFW.\" % message_bit)\n     make_nsfw.short_description = \"Rendre NSFW les œuvres sélectionnées\"\n \n+    #update_tags_via_anidb\n+    def anidb(self, request, queryset):\n+        \n+        if request.POST.get(\"post\"):\n+            \n+            chosen_ids = request.POST.getlist('checks')\n+            for anime_id in chosen_ids:\n+                anime = Work.objects.get(id=anime_id)\n+                retrieve_tags = anime.retrieve_tags()\n+                deleted_tags = retrieve_tags[\"deleted_tags\"]\n+                added_tags = retrieve_tags[\"added_tags\"]\n+                updated_tags = retrieve_tags[\"updated_tags\"]\n+\n+                anime = Work.objects.get(id=anime_id)","path":"mangaki/mangaki/admin.py","position":66,"original_position":66,"commit_id":"475a1635ad83207506d4915a1eb8ae08d971db91","original_commit_id":"475a1635ad83207506d4915a1eb8ae08d971db91","user":{"login":"fravoi","id":19416187,"avatar_url":"https://avatars.githubusercontent.com/u/19416187?v=3","gravatar_id":"","url":"https://api.github.com/users/fravoi","html_url":"https://github.com/fravoi","followers_url":"https://api.github.com/users/fravoi/followers","following_url":"https://api.github.com/users/fravoi/following{/other_user}","gists_url":"https://api.github.com/users/fravoi/gists{/gist_id}","starred_url":"https://api.github.com/users/fravoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fravoi/subscriptions","organizations_url":"https://api.github.com/users/fravoi/orgs","repos_url":"https://api.github.com/users/fravoi/repos","events_url":"https://api.github.com/users/fravoi/events{/privacy}","received_events_url":"https://api.github.com/users/fravoi/received_events","type":"User","site_admin":false},"body":"ah si tu parles juste des deux \"anime = ...\", c'est moi qui est dû essayer quelque chose et oublier d'en enlever un. My bad","created_at":"2016-07-29T10:14:59Z","updated_at":"2016-07-29T10:14:59Z","html_url":"https://github.com/mangaki/mangaki/pull/203#discussion_r72771034","pull_request_url":"https://api.github.com/repos/mangaki/mangaki/pulls/203","_links":{"self":{"href":"https://api.github.com/repos/mangaki/mangaki/pulls/comments/72771034"},"html":{"href":"https://github.com/mangaki/mangaki/pull/203#discussion_r72771034"},"pull_request":{"href":"https://api.github.com/repos/mangaki/mangaki/pulls/203"}}},"pull_request":{"url":"https://api.github.com/repos/mangaki/mangaki/pulls/203","id":77317291,"html_url":"https://github.com/mangaki/mangaki/pull/203","diff_url":"https://github.com/mangaki/mangaki/pull/203.diff","patch_url":"https://github.com/mangaki/mangaki/pull/203.patch","issue_url":"https://api.github.com/repos/mangaki/mangaki/issues/203","number":203,"state":"open","locked":false,"title":"Améliore l'intégration avec anidb","user":{"login":"Elarnon","id":146210,"avatar_url":"https://avatars.githubusercontent.com/u/146210?v=3","gravatar_id":"","url":"https://api.github.com/users/Elarnon","html_url":"https://github.com/Elarnon","followers_url":"https://api.github.com/users/Elarnon/followers","following_url":"https://api.github.com/users/Elarnon/following{/other_user}","gists_url":"https://api.github.com/users/Elarnon/gists{/gist_id}","starred_url":"https://api.github.com/users/Elarnon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elarnon/subscriptions","organizations_url":"https://api.github.com/users/Elarnon/orgs","repos_url":"https://api.github.com/users/Elarnon/repos","events_url":"https://api.github.com/users/Elarnon/events{/privacy}","received_events_url":"https://api.github.com/users/Elarnon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-13T16:11:01Z","updated_at":"2016-07-29T10:14:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da735e485fb88f3ec47e562ece554074c29571e8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mangaki/mangaki/pulls/203/commits","review_comments_url":"https://api.github.com/repos/mangaki/mangaki/pulls/203/comments","review_comment_url":"https://api.github.com/repos/mangaki/mangaki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mangaki/mangaki/issues/203/comments","statuses_url":"https://api.github.com/repos/mangaki/mangaki/statuses/475a1635ad83207506d4915a1eb8ae08d971db91","head":{"label":"mangaki:fravoi/anidb","ref":"fravoi/anidb","sha":"475a1635ad83207506d4915a1eb8ae08d971db91","user":{"login":"mangaki","id":16416680,"avatar_url":"https://avatars.githubusercontent.com/u/16416680?v=3","gravatar_id":"","url":"https://api.github.com/users/mangaki","html_url":"https://github.com/mangaki","followers_url":"https://api.github.com/users/mangaki/followers","following_url":"https://api.github.com/users/mangaki/following{/other_user}","gists_url":"https://api.github.com/users/mangaki/gists{/gist_id}","starred_url":"https://api.github.com/users/mangaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangaki/subscriptions","organizations_url":"https://api.github.com/users/mangaki/orgs","repos_url":"https://api.github.com/users/mangaki/repos","events_url":"https://api.github.com/users/mangaki/events{/privacy}","received_events_url":"https://api.github.com/users/mangaki/received_events","type":"Organization","site_admin":false},"repo":{"id":48501368,"name":"mangaki","full_name":"mangaki/mangaki","owner":{"login":"mangaki","id":16416680,"avatar_url":"https://avatars.githubusercontent.com/u/16416680?v=3","gravatar_id":"","url":"https://api.github.com/users/mangaki","html_url":"https://github.com/mangaki","followers_url":"https://api.github.com/users/mangaki/followers","following_url":"https://api.github.com/users/mangaki/following{/other_user}","gists_url":"https://api.github.com/users/mangaki/gists{/gist_id}","starred_url":"https://api.github.com/users/mangaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangaki/subscriptions","organizations_url":"https://api.github.com/users/mangaki/orgs","repos_url":"https://api.github.com/users/mangaki/repos","events_url":"https://api.github.com/users/mangaki/events{/privacy}","received_events_url":"https://api.github.com/users/mangaki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mangaki/mangaki","description":"Site de recommandation de mangas et d'anime","fork":false,"url":"https://api.github.com/repos/mangaki/mangaki","forks_url":"https://api.github.com/repos/mangaki/mangaki/forks","keys_url":"https://api.github.com/repos/mangaki/mangaki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mangaki/mangaki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mangaki/mangaki/teams","hooks_url":"https://api.github.com/repos/mangaki/mangaki/hooks","issue_events_url":"https://api.github.com/repos/mangaki/mangaki/issues/events{/number}","events_url":"https://api.github.com/repos/mangaki/mangaki/events","assignees_url":"https://api.github.com/repos/mangaki/mangaki/assignees{/user}","branches_url":"https://api.github.com/repos/mangaki/mangaki/branches{/branch}","tags_url":"https://api.github.com/repos/mangaki/mangaki/tags","blobs_url":"https://api.github.com/repos/mangaki/mangaki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mangaki/mangaki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mangaki/mangaki/git/refs{/sha}","trees_url":"https://api.github.com/repos/mangaki/mangaki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mangaki/mangaki/statuses/{sha}","languages_url":"https://api.github.com/repos/mangaki/mangaki/languages","stargazers_url":"https://api.github.com/repos/mangaki/mangaki/stargazers","contributors_url":"https://api.github.com/repos/mangaki/mangaki/contributors","subscribers_url":"https://api.github.com/repos/mangaki/mangaki/subscribers","subscription_url":"https://api.github.com/repos/mangaki/mangaki/subscription","commits_url":"https://api.github.com/repos/mangaki/mangaki/commits{/sha}","git_commits_url":"https://api.github.com/repos/mangaki/mangaki/git/commits{/sha}","comments_url":"https://api.github.com/repos/mangaki/mangaki/comments{/number}","issue_comment_url":"https://api.github.com/repos/mangaki/mangaki/issues/comments{/number}","contents_url":"https://api.github.com/repos/mangaki/mangaki/contents/{+path}","compare_url":"https://api.github.com/repos/mangaki/mangaki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mangaki/mangaki/merges","archive_url":"https://api.github.com/repos/mangaki/mangaki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mangaki/mangaki/downloads","issues_url":"https://api.github.com/repos/mangaki/mangaki/issues{/number}","pulls_url":"https://api.github.com/repos/mangaki/mangaki/pulls{/number}","milestones_url":"https://api.github.com/repos/mangaki/mangaki/milestones{/number}","notifications_url":"https://api.github.com/repos/mangaki/mangaki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mangaki/mangaki/labels{/name}","releases_url":"https://api.github.com/repos/mangaki/mangaki/releases{/id}","deployments_url":"https://api.github.com/repos/mangaki/mangaki/deployments","created_at":"2015-12-23T16:55:03Z","updated_at":"2016-07-19T14:36:59Z","pushed_at":"2016-07-28T19:14:02Z","git_url":"git://github.com/mangaki/mangaki.git","ssh_url":"git@github.com:mangaki/mangaki.git","clone_url":"https://github.com/mangaki/mangaki.git","svn_url":"https://github.com/mangaki/mangaki","homepage":null,"size":10832,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":56,"forks":12,"open_issues":56,"watchers":23,"default_branch":"master"}},"base":{"label":"mangaki:master","ref":"master","sha":"e141f54bdf659af09e895d8680e85abf737c8eba","user":{"login":"mangaki","id":16416680,"avatar_url":"https://avatars.githubusercontent.com/u/16416680?v=3","gravatar_id":"","url":"https://api.github.com/users/mangaki","html_url":"https://github.com/mangaki","followers_url":"https://api.github.com/users/mangaki/followers","following_url":"https://api.github.com/users/mangaki/following{/other_user}","gists_url":"https://api.github.com/users/mangaki/gists{/gist_id}","starred_url":"https://api.github.com/users/mangaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangaki/subscriptions","organizations_url":"https://api.github.com/users/mangaki/orgs","repos_url":"https://api.github.com/users/mangaki/repos","events_url":"https://api.github.com/users/mangaki/events{/privacy}","received_events_url":"https://api.github.com/users/mangaki/received_events","type":"Organization","site_admin":false},"repo":{"id":48501368,"name":"mangaki","full_name":"mangaki/mangaki","owner":{"login":"mangaki","id":16416680,"avatar_url":"https://avatars.githubusercontent.com/u/16416680?v=3","gravatar_id":"","url":"https://api.github.com/users/mangaki","html_url":"https://github.com/mangaki","followers_url":"https://api.github.com/users/mangaki/followers","following_url":"https://api.github.com/users/mangaki/following{/other_user}","gists_url":"https://api.github.com/users/mangaki/gists{/gist_id}","starred_url":"https://api.github.com/users/mangaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangaki/subscriptions","organizations_url":"https://api.github.com/users/mangaki/orgs","repos_url":"https://api.github.com/users/mangaki/repos","events_url":"https://api.github.com/users/mangaki/events{/privacy}","received_events_url":"https://api.github.com/users/mangaki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mangaki/mangaki","description":"Site de recommandation de mangas et d'anime","fork":false,"url":"https://api.github.com/repos/mangaki/mangaki","forks_url":"https://api.github.com/repos/mangaki/mangaki/forks","keys_url":"https://api.github.com/repos/mangaki/mangaki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mangaki/mangaki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mangaki/mangaki/teams","hooks_url":"https://api.github.com/repos/mangaki/mangaki/hooks","issue_events_url":"https://api.github.com/repos/mangaki/mangaki/issues/events{/number}","events_url":"https://api.github.com/repos/mangaki/mangaki/events","assignees_url":"https://api.github.com/repos/mangaki/mangaki/assignees{/user}","branches_url":"https://api.github.com/repos/mangaki/mangaki/branches{/branch}","tags_url":"https://api.github.com/repos/mangaki/mangaki/tags","blobs_url":"https://api.github.com/repos/mangaki/mangaki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mangaki/mangaki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mangaki/mangaki/git/refs{/sha}","trees_url":"https://api.github.com/repos/mangaki/mangaki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mangaki/mangaki/statuses/{sha}","languages_url":"https://api.github.com/repos/mangaki/mangaki/languages","stargazers_url":"https://api.github.com/repos/mangaki/mangaki/stargazers","contributors_url":"https://api.github.com/repos/mangaki/mangaki/contributors","subscribers_url":"https://api.github.com/repos/mangaki/mangaki/subscribers","subscription_url":"https://api.github.com/repos/mangaki/mangaki/subscription","commits_url":"https://api.github.com/repos/mangaki/mangaki/commits{/sha}","git_commits_url":"https://api.github.com/repos/mangaki/mangaki/git/commits{/sha}","comments_url":"https://api.github.com/repos/mangaki/mangaki/comments{/number}","issue_comment_url":"https://api.github.com/repos/mangaki/mangaki/issues/comments{/number}","contents_url":"https://api.github.com/repos/mangaki/mangaki/contents/{+path}","compare_url":"https://api.github.com/repos/mangaki/mangaki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mangaki/mangaki/merges","archive_url":"https://api.github.com/repos/mangaki/mangaki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mangaki/mangaki/downloads","issues_url":"https://api.github.com/repos/mangaki/mangaki/issues{/number}","pulls_url":"https://api.github.com/repos/mangaki/mangaki/pulls{/number}","milestones_url":"https://api.github.com/repos/mangaki/mangaki/milestones{/number}","notifications_url":"https://api.github.com/repos/mangaki/mangaki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mangaki/mangaki/labels{/name}","releases_url":"https://api.github.com/repos/mangaki/mangaki/releases{/id}","deployments_url":"https://api.github.com/repos/mangaki/mangaki/deployments","created_at":"2015-12-23T16:55:03Z","updated_at":"2016-07-19T14:36:59Z","pushed_at":"2016-07-28T19:14:02Z","git_url":"git://github.com/mangaki/mangaki.git","ssh_url":"git@github.com:mangaki/mangaki.git","clone_url":"https://github.com/mangaki/mangaki.git","svn_url":"https://github.com/mangaki/mangaki","homepage":null,"size":10832,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":56,"forks":12,"open_issues":56,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mangaki/mangaki/pulls/203"},"html":{"href":"https://github.com/mangaki/mangaki/pull/203"},"issue":{"href":"https://api.github.com/repos/mangaki/mangaki/issues/203"},"comments":{"href":"https://api.github.com/repos/mangaki/mangaki/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/mangaki/mangaki/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/mangaki/mangaki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mangaki/mangaki/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/mangaki/mangaki/statuses/475a1635ad83207506d4915a1eb8ae08d971db91"}}}}
{"actor":{"display_login":"fravoi"}}