{"action":"created","comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments/40498255","id":40498255,"diff_hunk":"@@ -138,6 +139,8 @@ def _real_extract(self, url):\n                 format_id = '%s-%s' % (ext, quality)\n                 clip_url = self._download_webpage(\n                     request, display_id, 'Downloading %s URL' % format_id, fatal=False)\n+                if sleep_interval:\n+                    self._sleep(sleep_interval, display_id)","path":"youtube_dl/extractor/pluralsight.py","position":13,"original_position":13,"commit_id":"d2e853ebe16cd11a81e502e91a4cc25a728fd11f","original_commit_id":"d2e853ebe16cd11a81e502e91a4cc25a728fd11f","user":{"login":"dstftw","id":1908898,"avatar_url":"https://avatars.githubusercontent.com/u/1908898?v=3","gravatar_id":"","url":"https://api.github.com/users/dstftw","html_url":"https://github.com/dstftw","followers_url":"https://api.github.com/users/dstftw/followers","following_url":"https://api.github.com/users/dstftw/following{/other_user}","gists_url":"https://api.github.com/users/dstftw/gists{/gist_id}","starred_url":"https://api.github.com/users/dstftw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstftw/subscriptions","organizations_url":"https://api.github.com/users/dstftw/orgs","repos_url":"https://api.github.com/users/dstftw/repos","events_url":"https://api.github.com/users/dstftw/events{/privacy}","received_events_url":"https://api.github.com/users/dstftw/received_events","type":"User","site_admin":false},"body":"Can you force this sleep to some reasonable value instead of using `sleep_interval` and add a rationale comment?","created_at":"2015-09-26T20:54:16Z","updated_at":"2015-09-26T20:54:16Z","html_url":"https://github.com/rg3/youtube-dl/pull/6989#discussion_r40498255","pull_request_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989","_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments/40498255"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/6989#discussion_r40498255"},"pull_request":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989"}}},"pull_request":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989","id":46088571,"html_url":"https://github.com/rg3/youtube-dl/pull/6989","diff_url":"https://github.com/rg3/youtube-dl/pull/6989.diff","patch_url":"https://github.com/rg3/youtube-dl/pull/6989.patch","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6989","number":6989,"state":"open","locked":false,"title":"[pluralsight] prevent error 429 when sensing video formats","user":{"login":"unjello","id":155669,"avatar_url":"https://avatars.githubusercontent.com/u/155669?v=3","gravatar_id":"","url":"https://api.github.com/users/unjello","html_url":"https://github.com/unjello","followers_url":"https://api.github.com/users/unjello/followers","following_url":"https://api.github.com/users/unjello/following{/other_user}","gists_url":"https://api.github.com/users/unjello/gists{/gist_id}","starred_url":"https://api.github.com/users/unjello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjello/subscriptions","organizations_url":"https://api.github.com/users/unjello/orgs","repos_url":"https://api.github.com/users/unjello/repos","events_url":"https://api.github.com/users/unjello/events{/privacy}","received_events_url":"https://api.github.com/users/unjello/received_events","type":"User","site_admin":false},"body":"Fetching urls for different qualities too fast causes pluralsight to return Error 429, which in turn causes script not to recognize the formats that returned an error. Decided to re-use sleep-interval option used for downloading files.","created_at":"2015-09-26T20:10:16Z","updated_at":"2015-09-26T20:54:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06893bc5a265fb2eb0857937d9c6b515dbb85bce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989/commits","review_comments_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989/comments","review_comment_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6989/comments","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/d2e853ebe16cd11a81e502e91a4cc25a728fd11f","head":{"label":"unjello:pluralsight_error_429","ref":"pluralsight_error_429","sha":"d2e853ebe16cd11a81e502e91a4cc25a728fd11f","user":{"login":"unjello","id":155669,"avatar_url":"https://avatars.githubusercontent.com/u/155669?v=3","gravatar_id":"","url":"https://api.github.com/users/unjello","html_url":"https://github.com/unjello","followers_url":"https://api.github.com/users/unjello/followers","following_url":"https://api.github.com/users/unjello/following{/other_user}","gists_url":"https://api.github.com/users/unjello/gists{/gist_id}","starred_url":"https://api.github.com/users/unjello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjello/subscriptions","organizations_url":"https://api.github.com/users/unjello/orgs","repos_url":"https://api.github.com/users/unjello/repos","events_url":"https://api.github.com/users/unjello/events{/privacy}","received_events_url":"https://api.github.com/users/unjello/received_events","type":"User","site_admin":false},"repo":{"id":43219825,"name":"youtube-dl","full_name":"unjello/youtube-dl","owner":{"login":"unjello","id":155669,"avatar_url":"https://avatars.githubusercontent.com/u/155669?v=3","gravatar_id":"","url":"https://api.github.com/users/unjello","html_url":"https://github.com/unjello","followers_url":"https://api.github.com/users/unjello/followers","following_url":"https://api.github.com/users/unjello/following{/other_user}","gists_url":"https://api.github.com/users/unjello/gists{/gist_id}","starred_url":"https://api.github.com/users/unjello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unjello/subscriptions","organizations_url":"https://api.github.com/users/unjello/orgs","repos_url":"https://api.github.com/users/unjello/repos","events_url":"https://api.github.com/users/unjello/events{/privacy}","received_events_url":"https://api.github.com/users/unjello/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unjello/youtube-dl","description":"Small command-line program to download videos from YouTube.com and other video sites","fork":true,"url":"https://api.github.com/repos/unjello/youtube-dl","forks_url":"https://api.github.com/repos/unjello/youtube-dl/forks","keys_url":"https://api.github.com/repos/unjello/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unjello/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unjello/youtube-dl/teams","hooks_url":"https://api.github.com/repos/unjello/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/unjello/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/unjello/youtube-dl/events","assignees_url":"https://api.github.com/repos/unjello/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/unjello/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/unjello/youtube-dl/tags","blobs_url":"https://api.github.com/repos/unjello/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unjello/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unjello/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/unjello/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unjello/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/unjello/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/unjello/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/unjello/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/unjello/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/unjello/youtube-dl/subscription","commits_url":"https://api.github.com/repos/unjello/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/unjello/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/unjello/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/unjello/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/unjello/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/unjello/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unjello/youtube-dl/merges","archive_url":"https://api.github.com/repos/unjello/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unjello/youtube-dl/downloads","issues_url":"https://api.github.com/repos/unjello/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/unjello/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/unjello/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/unjello/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unjello/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/unjello/youtube-dl/releases{/id}","created_at":"2015-09-26T19:34:13Z","updated_at":"2015-09-26T19:34:24Z","pushed_at":"2015-09-26T20:37:57Z","git_url":"git://github.com/unjello/youtube-dl.git","ssh_url":"git@github.com:unjello/youtube-dl.git","clone_url":"https://github.com/unjello/youtube-dl.git","svn_url":"https://github.com/unjello/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":34210,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rg3:master","ref":"master","sha":"95240b8093c6fe9007e33f0991ed8d54b42eaf3b","user":{"login":"rg3","id":53487,"avatar_url":"https://avatars.githubusercontent.com/u/53487?v=3","gravatar_id":"","url":"https://api.github.com/users/rg3","html_url":"https://github.com/rg3","followers_url":"https://api.github.com/users/rg3/followers","following_url":"https://api.github.com/users/rg3/following{/other_user}","gists_url":"https://api.github.com/users/rg3/gists{/gist_id}","starred_url":"https://api.github.com/users/rg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rg3/subscriptions","organizations_url":"https://api.github.com/users/rg3/orgs","repos_url":"https://api.github.com/users/rg3/repos","events_url":"https://api.github.com/users/rg3/events{/privacy}","received_events_url":"https://api.github.com/users/rg3/received_events","type":"User","site_admin":false},"repo":{"id":1039520,"name":"youtube-dl","full_name":"rg3/youtube-dl","owner":{"login":"rg3","id":53487,"avatar_url":"https://avatars.githubusercontent.com/u/53487?v=3","gravatar_id":"","url":"https://api.github.com/users/rg3","html_url":"https://github.com/rg3","followers_url":"https://api.github.com/users/rg3/followers","following_url":"https://api.github.com/users/rg3/following{/other_user}","gists_url":"https://api.github.com/users/rg3/gists{/gist_id}","starred_url":"https://api.github.com/users/rg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rg3/subscriptions","organizations_url":"https://api.github.com/users/rg3/orgs","repos_url":"https://api.github.com/users/rg3/repos","events_url":"https://api.github.com/users/rg3/events{/privacy}","received_events_url":"https://api.github.com/users/rg3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rg3/youtube-dl","description":"Small command-line program to download videos from YouTube.com and other video sites","fork":false,"url":"https://api.github.com/repos/rg3/youtube-dl","forks_url":"https://api.github.com/repos/rg3/youtube-dl/forks","keys_url":"https://api.github.com/repos/rg3/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rg3/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rg3/youtube-dl/teams","hooks_url":"https://api.github.com/repos/rg3/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/rg3/youtube-dl/events","assignees_url":"https://api.github.com/repos/rg3/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/rg3/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/rg3/youtube-dl/tags","blobs_url":"https://api.github.com/repos/rg3/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rg3/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rg3/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/rg3/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/rg3/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/rg3/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/rg3/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/rg3/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/rg3/youtube-dl/subscription","commits_url":"https://api.github.com/repos/rg3/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/rg3/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/rg3/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/rg3/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rg3/youtube-dl/merges","archive_url":"https://api.github.com/repos/rg3/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rg3/youtube-dl/downloads","issues_url":"https://api.github.com/repos/rg3/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/rg3/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/rg3/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/rg3/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rg3/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/rg3/youtube-dl/releases{/id}","created_at":"2010-10-31T14:35:07Z","updated_at":"2015-09-26T16:53:58Z","pushed_at":"2015-09-26T20:37:58Z","git_url":"git://github.com/rg3/youtube-dl.git","ssh_url":"git@github.com:rg3/youtube-dl.git","clone_url":"https://github.com/rg3/youtube-dl.git","svn_url":"https://github.com/rg3/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":142655,"stargazers_count":11691,"watchers_count":11691,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2379,"mirror_url":null,"open_issues_count":1265,"forks":2379,"open_issues":1265,"watchers":11691,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/6989"},"issue":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/6989"},"comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/6989/comments"},"review_comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989/comments"},"review_comment":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/6989/commits"},"statuses":{"href":"https://api.github.com/repos/rg3/youtube-dl/statuses/d2e853ebe16cd11a81e502e91a4cc25a728fd11f"}}}}