{"action":"created","comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments/48786109","id":48786109,"diff_hunk":"@@ -0,0 +1,68 @@\n+# coding: utf-8\n+from __future__ import unicode_literals\n+from .common import InfoExtractor\n+\n+\n+class CanvasIE(InfoExtractor):\n+    _VALID_URL = r'(?:https?://)?(?:www\\.)?canvas\\.be/video/(?P<id>.+)'\n+    _TEST = {\n+        'url': 'http://www.canvas.be/video/slijk/2015/isaac-kimeli',","path":"youtube_dl/extractor/canvas.py","position":9,"original_position":9,"commit_id":"1f04bfb0c50fed098f5315f9a98f53cdad7d2f95","original_commit_id":"1f04bfb0c50fed098f5315f9a98f53cdad7d2f95","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":"This video is georestricted.","created_at":"2016-01-04T21:48:54Z","updated_at":"2016-01-04T21:48:54Z","html_url":"https://github.com/rg3/youtube-dl/pull/7145#discussion_r48786109","pull_request_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145","_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments/48786109"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/7145#discussion_r48786109"},"pull_request":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145"}}},"pull_request":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145","id":47390634,"html_url":"https://github.com/rg3/youtube-dl/pull/7145","diff_url":"https://github.com/rg3/youtube-dl/pull/7145.diff","patch_url":"https://github.com/rg3/youtube-dl/pull/7145.patch","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7145","number":7145,"state":"open","locked":false,"title":"[Canvas] Add new extractor ","user":{"login":"TomGijselinck","id":3659344,"avatar_url":"https://avatars.githubusercontent.com/u/3659344?v=3","gravatar_id":"","url":"https://api.github.com/users/TomGijselinck","html_url":"https://github.com/TomGijselinck","followers_url":"https://api.github.com/users/TomGijselinck/followers","following_url":"https://api.github.com/users/TomGijselinck/following{/other_user}","gists_url":"https://api.github.com/users/TomGijselinck/gists{/gist_id}","starred_url":"https://api.github.com/users/TomGijselinck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomGijselinck/subscriptions","organizations_url":"https://api.github.com/users/TomGijselinck/orgs","repos_url":"https://api.github.com/users/TomGijselinck/repos","events_url":"https://api.github.com/users/TomGijselinck/events{/privacy}","received_events_url":"https://api.github.com/users/TomGijselinck/received_events","type":"User","site_admin":false},"body":"Resolves #7079. Code is checked with flake8.","created_at":"2015-10-12T07:13:57Z","updated_at":"2016-01-04T21:48:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9efbf77427409d8a301da67174f0c289f0ee68ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145/commits","review_comments_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145/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/7145/comments","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/1f04bfb0c50fed098f5315f9a98f53cdad7d2f95","head":{"label":"TomGijselinck:master","ref":"master","sha":"1f04bfb0c50fed098f5315f9a98f53cdad7d2f95","user":{"login":"TomGijselinck","id":3659344,"avatar_url":"https://avatars.githubusercontent.com/u/3659344?v=3","gravatar_id":"","url":"https://api.github.com/users/TomGijselinck","html_url":"https://github.com/TomGijselinck","followers_url":"https://api.github.com/users/TomGijselinck/followers","following_url":"https://api.github.com/users/TomGijselinck/following{/other_user}","gists_url":"https://api.github.com/users/TomGijselinck/gists{/gist_id}","starred_url":"https://api.github.com/users/TomGijselinck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomGijselinck/subscriptions","organizations_url":"https://api.github.com/users/TomGijselinck/orgs","repos_url":"https://api.github.com/users/TomGijselinck/repos","events_url":"https://api.github.com/users/TomGijselinck/events{/privacy}","received_events_url":"https://api.github.com/users/TomGijselinck/received_events","type":"User","site_admin":false},"repo":{"id":44000293,"name":"youtube-dl","full_name":"TomGijselinck/youtube-dl","owner":{"login":"TomGijselinck","id":3659344,"avatar_url":"https://avatars.githubusercontent.com/u/3659344?v=3","gravatar_id":"","url":"https://api.github.com/users/TomGijselinck","html_url":"https://github.com/TomGijselinck","followers_url":"https://api.github.com/users/TomGijselinck/followers","following_url":"https://api.github.com/users/TomGijselinck/following{/other_user}","gists_url":"https://api.github.com/users/TomGijselinck/gists{/gist_id}","starred_url":"https://api.github.com/users/TomGijselinck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomGijselinck/subscriptions","organizations_url":"https://api.github.com/users/TomGijselinck/orgs","repos_url":"https://api.github.com/users/TomGijselinck/repos","events_url":"https://api.github.com/users/TomGijselinck/events{/privacy}","received_events_url":"https://api.github.com/users/TomGijselinck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TomGijselinck/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/TomGijselinck/youtube-dl","forks_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/forks","keys_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/teams","hooks_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/events","assignees_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/tags","blobs_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/subscription","commits_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/merges","archive_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/downloads","issues_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/TomGijselinck/youtube-dl/releases{/id}","created_at":"2015-10-10T07:44:21Z","updated_at":"2015-10-10T07:44:31Z","pushed_at":"2016-01-04T21:39:08Z","git_url":"git://github.com/TomGijselinck/youtube-dl.git","ssh_url":"git@github.com:TomGijselinck/youtube-dl.git","clone_url":"https://github.com/TomGijselinck/youtube-dl.git","svn_url":"https://github.com/TomGijselinck/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":34080,"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":"7f9134fb2db5559124a0f658bacb6bad54261043","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":"2016-01-04T21:02:40Z","pushed_at":"2016-01-04T21:39:09Z","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":108277,"stargazers_count":13547,"watchers_count":13547,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2787,"mirror_url":null,"open_issues_count":1409,"forks":2787,"open_issues":1409,"watchers":13547,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/7145"},"issue":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/7145"},"comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/7145/comments"},"review_comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/7145/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/7145/commits"},"statuses":{"href":"https://api.github.com/repos/rg3/youtube-dl/statuses/1f04bfb0c50fed098f5315f9a98f53cdad7d2f95"}}}}