{"action":"created","comment":{"url":"https://api.github.com/repos/mgallego/Bach/pulls/comments/28358063","id":28358063,"diff_hunk":"@@ -15,6 +16,15 @@ def my_import(name, class_name):\n     class_name = settings.SPIDERS[site]\n     module_nane = 'spiders.'+site+'_spider'\n     Spider = my_import(module_nane, class_name)\n+    count = 0\n     for url in urls:\n-        spider = Spider(url)\n-        spider.load_torrents()\n+\ttry:\n+\t     count = 0\n+             spider = Spider(url)","path":"bach.py","position":21,"original_position":21,"commit_id":"fda5684d9a0261cdf2a9978516f627e2f7e1f837","original_commit_id":"fda5684d9a0261cdf2a9978516f627e2f7e1f837","user":{"login":"mgallego","id":655174,"avatar_url":"https://avatars.githubusercontent.com/u/655174?v=3","gravatar_id":"","url":"https://api.github.com/users/mgallego","html_url":"https://github.com/mgallego","followers_url":"https://api.github.com/users/mgallego/followers","following_url":"https://api.github.com/users/mgallego/following{/other_user}","gists_url":"https://api.github.com/users/mgallego/gists{/gist_id}","starred_url":"https://api.github.com/users/mgallego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgallego/subscriptions","organizations_url":"https://api.github.com/users/mgallego/orgs","repos_url":"https://api.github.com/users/mgallego/repos","events_url":"https://api.github.com/users/mgallego/events{/privacy}","received_events_url":"https://api.github.com/users/mgallego/received_events","type":"User","site_admin":false},"body":"Esto no está bien indentando, has probado que funcione?","created_at":"2015-04-14T18:54:20Z","updated_at":"2015-04-14T18:54:20Z","html_url":"https://github.com/mgallego/Bach/pull/2#discussion_r28358063","pull_request_url":"https://api.github.com/repos/mgallego/Bach/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mgallego/Bach/pulls/comments/28358063"},"html":{"href":"https://github.com/mgallego/Bach/pull/2#discussion_r28358063"},"pull_request":{"href":"https://api.github.com/repos/mgallego/Bach/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mgallego/Bach/pulls/2","id":33287390,"html_url":"https://github.com/mgallego/Bach/pull/2","diff_url":"https://github.com/mgallego/Bach/pull/2.diff","patch_url":"https://github.com/mgallego/Bach/pull/2.patch","issue_url":"https://api.github.com/repos/mgallego/Bach/issues/2","number":2,"state":"open","locked":false,"title":"Fixed a bug with files","user":{"login":"alfonsomiranda","id":2621538,"avatar_url":"https://avatars.githubusercontent.com/u/2621538?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsomiranda","html_url":"https://github.com/alfonsomiranda","followers_url":"https://api.github.com/users/alfonsomiranda/followers","following_url":"https://api.github.com/users/alfonsomiranda/following{/other_user}","gists_url":"https://api.github.com/users/alfonsomiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsomiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsomiranda/subscriptions","organizations_url":"https://api.github.com/users/alfonsomiranda/orgs","repos_url":"https://api.github.com/users/alfonsomiranda/repos","events_url":"https://api.github.com/users/alfonsomiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsomiranda/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-14T18:46:04Z","updated_at":"2015-04-14T18:54:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b1e0cb18b512379e160e368a3738dc8545b60df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mgallego/Bach/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mgallego/Bach/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mgallego/Bach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mgallego/Bach/issues/2/comments","statuses_url":"https://api.github.com/repos/mgallego/Bach/statuses/fda5684d9a0261cdf2a9978516f627e2f7e1f837","head":{"label":"alfonsomiranda:master","ref":"master","sha":"fda5684d9a0261cdf2a9978516f627e2f7e1f837","user":{"login":"alfonsomiranda","id":2621538,"avatar_url":"https://avatars.githubusercontent.com/u/2621538?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsomiranda","html_url":"https://github.com/alfonsomiranda","followers_url":"https://api.github.com/users/alfonsomiranda/followers","following_url":"https://api.github.com/users/alfonsomiranda/following{/other_user}","gists_url":"https://api.github.com/users/alfonsomiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsomiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsomiranda/subscriptions","organizations_url":"https://api.github.com/users/alfonsomiranda/orgs","repos_url":"https://api.github.com/users/alfonsomiranda/repos","events_url":"https://api.github.com/users/alfonsomiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsomiranda/received_events","type":"User","site_admin":false},"repo":{"id":33914429,"name":"Bach","full_name":"alfonsomiranda/Bach","owner":{"login":"alfonsomiranda","id":2621538,"avatar_url":"https://avatars.githubusercontent.com/u/2621538?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsomiranda","html_url":"https://github.com/alfonsomiranda","followers_url":"https://api.github.com/users/alfonsomiranda/followers","following_url":"https://api.github.com/users/alfonsomiranda/following{/other_user}","gists_url":"https://api.github.com/users/alfonsomiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsomiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsomiranda/subscriptions","organizations_url":"https://api.github.com/users/alfonsomiranda/orgs","repos_url":"https://api.github.com/users/alfonsomiranda/repos","events_url":"https://api.github.com/users/alfonsomiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsomiranda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alfonsomiranda/Bach","description":"A torrent dowmloader for raspberry pi","fork":true,"url":"https://api.github.com/repos/alfonsomiranda/Bach","forks_url":"https://api.github.com/repos/alfonsomiranda/Bach/forks","keys_url":"https://api.github.com/repos/alfonsomiranda/Bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfonsomiranda/Bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfonsomiranda/Bach/teams","hooks_url":"https://api.github.com/repos/alfonsomiranda/Bach/hooks","issue_events_url":"https://api.github.com/repos/alfonsomiranda/Bach/issues/events{/number}","events_url":"https://api.github.com/repos/alfonsomiranda/Bach/events","assignees_url":"https://api.github.com/repos/alfonsomiranda/Bach/assignees{/user}","branches_url":"https://api.github.com/repos/alfonsomiranda/Bach/branches{/branch}","tags_url":"https://api.github.com/repos/alfonsomiranda/Bach/tags","blobs_url":"https://api.github.com/repos/alfonsomiranda/Bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfonsomiranda/Bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfonsomiranda/Bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfonsomiranda/Bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfonsomiranda/Bach/statuses/{sha}","languages_url":"https://api.github.com/repos/alfonsomiranda/Bach/languages","stargazers_url":"https://api.github.com/repos/alfonsomiranda/Bach/stargazers","contributors_url":"https://api.github.com/repos/alfonsomiranda/Bach/contributors","subscribers_url":"https://api.github.com/repos/alfonsomiranda/Bach/subscribers","subscription_url":"https://api.github.com/repos/alfonsomiranda/Bach/subscription","commits_url":"https://api.github.com/repos/alfonsomiranda/Bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfonsomiranda/Bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfonsomiranda/Bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfonsomiranda/Bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/alfonsomiranda/Bach/contents/{+path}","compare_url":"https://api.github.com/repos/alfonsomiranda/Bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfonsomiranda/Bach/merges","archive_url":"https://api.github.com/repos/alfonsomiranda/Bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfonsomiranda/Bach/downloads","issues_url":"https://api.github.com/repos/alfonsomiranda/Bach/issues{/number}","pulls_url":"https://api.github.com/repos/alfonsomiranda/Bach/pulls{/number}","milestones_url":"https://api.github.com/repos/alfonsomiranda/Bach/milestones{/number}","notifications_url":"https://api.github.com/repos/alfonsomiranda/Bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfonsomiranda/Bach/labels{/name}","releases_url":"https://api.github.com/repos/alfonsomiranda/Bach/releases{/id}","created_at":"2015-04-14T06:20:06Z","updated_at":"2015-04-14T18:44:59Z","pushed_at":"2015-04-14T18:44:59Z","git_url":"git://github.com/alfonsomiranda/Bach.git","ssh_url":"git@github.com:alfonsomiranda/Bach.git","clone_url":"https://github.com/alfonsomiranda/Bach.git","svn_url":"https://github.com/alfonsomiranda/Bach","homepage":null,"size":144,"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":"mgallego:master","ref":"master","sha":"40f096b3373b649c50b64302c821ecf68dc72d5b","user":{"login":"mgallego","id":655174,"avatar_url":"https://avatars.githubusercontent.com/u/655174?v=3","gravatar_id":"","url":"https://api.github.com/users/mgallego","html_url":"https://github.com/mgallego","followers_url":"https://api.github.com/users/mgallego/followers","following_url":"https://api.github.com/users/mgallego/following{/other_user}","gists_url":"https://api.github.com/users/mgallego/gists{/gist_id}","starred_url":"https://api.github.com/users/mgallego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgallego/subscriptions","organizations_url":"https://api.github.com/users/mgallego/orgs","repos_url":"https://api.github.com/users/mgallego/repos","events_url":"https://api.github.com/users/mgallego/events{/privacy}","received_events_url":"https://api.github.com/users/mgallego/received_events","type":"User","site_admin":false},"repo":{"id":23494591,"name":"Bach","full_name":"mgallego/Bach","owner":{"login":"mgallego","id":655174,"avatar_url":"https://avatars.githubusercontent.com/u/655174?v=3","gravatar_id":"","url":"https://api.github.com/users/mgallego","html_url":"https://github.com/mgallego","followers_url":"https://api.github.com/users/mgallego/followers","following_url":"https://api.github.com/users/mgallego/following{/other_user}","gists_url":"https://api.github.com/users/mgallego/gists{/gist_id}","starred_url":"https://api.github.com/users/mgallego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgallego/subscriptions","organizations_url":"https://api.github.com/users/mgallego/orgs","repos_url":"https://api.github.com/users/mgallego/repos","events_url":"https://api.github.com/users/mgallego/events{/privacy}","received_events_url":"https://api.github.com/users/mgallego/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgallego/Bach","description":"A torrent dowmloader for raspberry pi","fork":false,"url":"https://api.github.com/repos/mgallego/Bach","forks_url":"https://api.github.com/repos/mgallego/Bach/forks","keys_url":"https://api.github.com/repos/mgallego/Bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgallego/Bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgallego/Bach/teams","hooks_url":"https://api.github.com/repos/mgallego/Bach/hooks","issue_events_url":"https://api.github.com/repos/mgallego/Bach/issues/events{/number}","events_url":"https://api.github.com/repos/mgallego/Bach/events","assignees_url":"https://api.github.com/repos/mgallego/Bach/assignees{/user}","branches_url":"https://api.github.com/repos/mgallego/Bach/branches{/branch}","tags_url":"https://api.github.com/repos/mgallego/Bach/tags","blobs_url":"https://api.github.com/repos/mgallego/Bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgallego/Bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgallego/Bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgallego/Bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgallego/Bach/statuses/{sha}","languages_url":"https://api.github.com/repos/mgallego/Bach/languages","stargazers_url":"https://api.github.com/repos/mgallego/Bach/stargazers","contributors_url":"https://api.github.com/repos/mgallego/Bach/contributors","subscribers_url":"https://api.github.com/repos/mgallego/Bach/subscribers","subscription_url":"https://api.github.com/repos/mgallego/Bach/subscription","commits_url":"https://api.github.com/repos/mgallego/Bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgallego/Bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgallego/Bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgallego/Bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgallego/Bach/contents/{+path}","compare_url":"https://api.github.com/repos/mgallego/Bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgallego/Bach/merges","archive_url":"https://api.github.com/repos/mgallego/Bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgallego/Bach/downloads","issues_url":"https://api.github.com/repos/mgallego/Bach/issues{/number}","pulls_url":"https://api.github.com/repos/mgallego/Bach/pulls{/number}","milestones_url":"https://api.github.com/repos/mgallego/Bach/milestones{/number}","notifications_url":"https://api.github.com/repos/mgallego/Bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgallego/Bach/labels{/name}","releases_url":"https://api.github.com/repos/mgallego/Bach/releases{/id}","created_at":"2014-08-30T15:28:19Z","updated_at":"2015-03-13T18:17:21Z","pushed_at":"2015-04-14T18:46:05Z","git_url":"git://github.com/mgallego/Bach.git","ssh_url":"git@github.com:mgallego/Bach.git","clone_url":"https://github.com/mgallego/Bach.git","svn_url":"https://github.com/mgallego/Bach","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mgallego/Bach/pulls/2"},"html":{"href":"https://github.com/mgallego/Bach/pull/2"},"issue":{"href":"https://api.github.com/repos/mgallego/Bach/issues/2"},"comments":{"href":"https://api.github.com/repos/mgallego/Bach/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mgallego/Bach/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mgallego/Bach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mgallego/Bach/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mgallego/Bach/statuses/fda5684d9a0261cdf2a9978516f627e2f7e1f837"}}}}