{"action":"created","comment":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/comments/42636857","id":42636857,"diff_hunk":"@@ -108,13 +116,13 @@ def __init__(self, provider_obj):\n \n         tvcache.TVCache.__init__(self, provider_obj)\n \n-        # set this 0 to suppress log line, since we aren't updating it anyways\n-        self.minTime = 0\n+        # Use random number to avoid DDOSing the server\n+        randomtime = random.randrange(10, 25)\n+        self.minTime = randomtime\n \n     def _getRSSData(self):\n-        # no rss for torrentproject afaik,& can't search with empty string\n-        # newest results are always > 1 day since added anyways\n-        # search_strings = {'RSS': ['']}\n-        return {'entries': {}}\n+        \n+        search_params = {'RSS': ['']}","path":"sickbeard/providers/torrentproject.py","position":70,"original_position":70,"commit_id":"b66acdbff960e99647a8a15a7fbedeb0838ef63f","original_commit_id":"9884f1ebe39a7568eef74f0f733f8511c4dc8276","user":{"login":"miigotu","id":390379,"avatar_url":"https://avatars.githubusercontent.com/u/390379?v=3","gravatar_id":"","url":"https://api.github.com/users/miigotu","html_url":"https://github.com/miigotu","followers_url":"https://api.github.com/users/miigotu/followers","following_url":"https://api.github.com/users/miigotu/following{/other_user}","gists_url":"https://api.github.com/users/miigotu/gists{/gist_id}","starred_url":"https://api.github.com/users/miigotu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miigotu/subscriptions","organizations_url":"https://api.github.com/users/miigotu/orgs","repos_url":"https://api.github.com/users/miigotu/repos","events_url":"https://api.github.com/users/miigotu/events{/privacy}","received_events_url":"https://api.github.com/users/miigotu/received_events","type":"User","site_admin":false},"body":"You can put num=150 in both RSS and non RSS, no need to selectively build the url and complicate the code.","created_at":"2015-10-21T15:14:13Z","updated_at":"2015-10-21T15:14:13Z","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2944#discussion_r42636857","pull_request_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944","_links":{"self":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/comments/42636857"},"html":{"href":"https://github.com/SiCKRAGETV/SickRage/pull/2944#discussion_r42636857"},"pull_request":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944"}}},"pull_request":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944","id":48334226,"html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2944","diff_url":"https://github.com/SiCKRAGETV/SickRage/pull/2944.diff","patch_url":"https://github.com/SiCKRAGETV/SickRage/pull/2944.patch","issue_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2944","number":2944,"state":"open","locked":false,"title":"Add RSS to TorrentProject","user":{"login":"duramato","id":10121067,"avatar_url":"https://avatars.githubusercontent.com/u/10121067?v=3","gravatar_id":"","url":"https://api.github.com/users/duramato","html_url":"https://github.com/duramato","followers_url":"https://api.github.com/users/duramato/followers","following_url":"https://api.github.com/users/duramato/following{/other_user}","gists_url":"https://api.github.com/users/duramato/gists{/gist_id}","starred_url":"https://api.github.com/users/duramato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duramato/subscriptions","organizations_url":"https://api.github.com/users/duramato/orgs","repos_url":"https://api.github.com/users/duramato/repos","events_url":"https://api.github.com/users/duramato/events{/privacy}","received_events_url":"https://api.github.com/users/duramato/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-21T13:55:48Z","updated_at":"2015-10-21T15:14:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"700c56a2fe2eea5ea36d9d5cadd4524edab27f47","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944/commits","review_comments_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944/comments","review_comment_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2944/comments","statuses_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/statuses/b66acdbff960e99647a8a15a7fbedeb0838ef63f","head":{"label":"duramato:patch-2","ref":"patch-2","sha":"b66acdbff960e99647a8a15a7fbedeb0838ef63f","user":{"login":"duramato","id":10121067,"avatar_url":"https://avatars.githubusercontent.com/u/10121067?v=3","gravatar_id":"","url":"https://api.github.com/users/duramato","html_url":"https://github.com/duramato","followers_url":"https://api.github.com/users/duramato/followers","following_url":"https://api.github.com/users/duramato/following{/other_user}","gists_url":"https://api.github.com/users/duramato/gists{/gist_id}","starred_url":"https://api.github.com/users/duramato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duramato/subscriptions","organizations_url":"https://api.github.com/users/duramato/orgs","repos_url":"https://api.github.com/users/duramato/repos","events_url":"https://api.github.com/users/duramato/events{/privacy}","received_events_url":"https://api.github.com/users/duramato/received_events","type":"User","site_admin":false},"repo":{"id":44480352,"name":"SickRage","full_name":"duramato/SickRage","owner":{"login":"duramato","id":10121067,"avatar_url":"https://avatars.githubusercontent.com/u/10121067?v=3","gravatar_id":"","url":"https://api.github.com/users/duramato","html_url":"https://github.com/duramato","followers_url":"https://api.github.com/users/duramato/followers","following_url":"https://api.github.com/users/duramato/following{/other_user}","gists_url":"https://api.github.com/users/duramato/gists{/gist_id}","starred_url":"https://api.github.com/users/duramato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duramato/subscriptions","organizations_url":"https://api.github.com/users/duramato/orgs","repos_url":"https://api.github.com/users/duramato/repos","events_url":"https://api.github.com/users/duramato/events{/privacy}","received_events_url":"https://api.github.com/users/duramato/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duramato/SickRage","description":"SickRage - Searches TheTVDB for shows","fork":true,"url":"https://api.github.com/repos/duramato/SickRage","forks_url":"https://api.github.com/repos/duramato/SickRage/forks","keys_url":"https://api.github.com/repos/duramato/SickRage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duramato/SickRage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duramato/SickRage/teams","hooks_url":"https://api.github.com/repos/duramato/SickRage/hooks","issue_events_url":"https://api.github.com/repos/duramato/SickRage/issues/events{/number}","events_url":"https://api.github.com/repos/duramato/SickRage/events","assignees_url":"https://api.github.com/repos/duramato/SickRage/assignees{/user}","branches_url":"https://api.github.com/repos/duramato/SickRage/branches{/branch}","tags_url":"https://api.github.com/repos/duramato/SickRage/tags","blobs_url":"https://api.github.com/repos/duramato/SickRage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duramato/SickRage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duramato/SickRage/git/refs{/sha}","trees_url":"https://api.github.com/repos/duramato/SickRage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duramato/SickRage/statuses/{sha}","languages_url":"https://api.github.com/repos/duramato/SickRage/languages","stargazers_url":"https://api.github.com/repos/duramato/SickRage/stargazers","contributors_url":"https://api.github.com/repos/duramato/SickRage/contributors","subscribers_url":"https://api.github.com/repos/duramato/SickRage/subscribers","subscription_url":"https://api.github.com/repos/duramato/SickRage/subscription","commits_url":"https://api.github.com/repos/duramato/SickRage/commits{/sha}","git_commits_url":"https://api.github.com/repos/duramato/SickRage/git/commits{/sha}","comments_url":"https://api.github.com/repos/duramato/SickRage/comments{/number}","issue_comment_url":"https://api.github.com/repos/duramato/SickRage/issues/comments{/number}","contents_url":"https://api.github.com/repos/duramato/SickRage/contents/{+path}","compare_url":"https://api.github.com/repos/duramato/SickRage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duramato/SickRage/merges","archive_url":"https://api.github.com/repos/duramato/SickRage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duramato/SickRage/downloads","issues_url":"https://api.github.com/repos/duramato/SickRage/issues{/number}","pulls_url":"https://api.github.com/repos/duramato/SickRage/pulls{/number}","milestones_url":"https://api.github.com/repos/duramato/SickRage/milestones{/number}","notifications_url":"https://api.github.com/repos/duramato/SickRage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duramato/SickRage/labels{/name}","releases_url":"https://api.github.com/repos/duramato/SickRage/releases{/id}","created_at":"2015-10-18T14:05:40Z","updated_at":"2015-10-18T14:05:53Z","pushed_at":"2015-10-21T15:11:51Z","git_url":"git://github.com/duramato/SickRage.git","ssh_url":"git@github.com:duramato/SickRage.git","clone_url":"https://github.com/duramato/SickRage.git","svn_url":"https://github.com/duramato/SickRage","homepage":"http://www.sickrage.tv/","size":49357,"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":"SiCKRAGETV:develop","ref":"develop","sha":"6309378ced20d6ac395311cf28728570e3e9f72b","user":{"login":"SiCKRAGETV","id":9251163,"avatar_url":"https://avatars.githubusercontent.com/u/9251163?v=3","gravatar_id":"","url":"https://api.github.com/users/SiCKRAGETV","html_url":"https://github.com/SiCKRAGETV","followers_url":"https://api.github.com/users/SiCKRAGETV/followers","following_url":"https://api.github.com/users/SiCKRAGETV/following{/other_user}","gists_url":"https://api.github.com/users/SiCKRAGETV/gists{/gist_id}","starred_url":"https://api.github.com/users/SiCKRAGETV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiCKRAGETV/subscriptions","organizations_url":"https://api.github.com/users/SiCKRAGETV/orgs","repos_url":"https://api.github.com/users/SiCKRAGETV/repos","events_url":"https://api.github.com/users/SiCKRAGETV/events{/privacy}","received_events_url":"https://api.github.com/users/SiCKRAGETV/received_events","type":"Organization","site_admin":false},"repo":{"id":17582613,"name":"SickRage","full_name":"SiCKRAGETV/SickRage","owner":{"login":"SiCKRAGETV","id":9251163,"avatar_url":"https://avatars.githubusercontent.com/u/9251163?v=3","gravatar_id":"","url":"https://api.github.com/users/SiCKRAGETV","html_url":"https://github.com/SiCKRAGETV","followers_url":"https://api.github.com/users/SiCKRAGETV/followers","following_url":"https://api.github.com/users/SiCKRAGETV/following{/other_user}","gists_url":"https://api.github.com/users/SiCKRAGETV/gists{/gist_id}","starred_url":"https://api.github.com/users/SiCKRAGETV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiCKRAGETV/subscriptions","organizations_url":"https://api.github.com/users/SiCKRAGETV/orgs","repos_url":"https://api.github.com/users/SiCKRAGETV/repos","events_url":"https://api.github.com/users/SiCKRAGETV/events{/privacy}","received_events_url":"https://api.github.com/users/SiCKRAGETV/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SiCKRAGETV/SickRage","description":"SickRage - Searches TheTVDB for shows","fork":false,"url":"https://api.github.com/repos/SiCKRAGETV/SickRage","forks_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/forks","keys_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/teams","hooks_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/hooks","issue_events_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/events{/number}","events_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/events","assignees_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/assignees{/user}","branches_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/branches{/branch}","tags_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/tags","blobs_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/git/refs{/sha}","trees_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/statuses/{sha}","languages_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/languages","stargazers_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/stargazers","contributors_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/contributors","subscribers_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/subscribers","subscription_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/subscription","commits_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/commits{/sha}","git_commits_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/git/commits{/sha}","comments_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/comments{/number}","issue_comment_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/comments{/number}","contents_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/contents/{+path}","compare_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/merges","archive_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/downloads","issues_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues{/number}","pulls_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls{/number}","milestones_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/milestones{/number}","notifications_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/labels{/name}","releases_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/releases{/id}","created_at":"2014-03-10T05:20:31Z","updated_at":"2015-10-20T22:25:39Z","pushed_at":"2015-10-21T15:11:52Z","git_url":"git://github.com/SiCKRAGETV/SickRage.git","ssh_url":"git@github.com:SiCKRAGETV/SickRage.git","clone_url":"https://github.com/SiCKRAGETV/SickRage.git","svn_url":"https://github.com/SiCKRAGETV/SickRage","homepage":"http://www.sickrage.tv/","size":108365,"stargazers_count":1249,"watchers_count":1249,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":738,"mirror_url":null,"open_issues_count":12,"forks":738,"open_issues":12,"watchers":1249,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944"},"html":{"href":"https://github.com/SiCKRAGETV/SickRage/pull/2944"},"issue":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2944"},"comments":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2944/comments"},"review_comments":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944/comments"},"review_comment":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2944/commits"},"statuses":{"href":"https://api.github.com/repos/SiCKRAGETV/SickRage/statuses/b66acdbff960e99647a8a15a7fbedeb0838ef63f"}}}}