{"action":"created","comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments/78288768","id":78288768,"diff_hunk":"@@ -0,0 +1,30 @@\n+from __future__ import unicode_literals\n+\n+from .common import InfoExtractor\n+\n+\n+class TVANouvellesIE(InfoExtractor):\n+    _VALID_URL = r'https?://(www\\.|)tvanouvelles\\.(ca|com|qc)/.*.?/(?P<id>[^/]+)'\n+\n+    _TEST = {\n+        'url': 'http://www.tvanouvelles.ca/videos/5117035533001',\n+        'info_dict': {\n+            'id': '5117035533001',\n+            'ext': 'mp4',\n+            'title': 'L\\u2019industrie du taxi d\\xe9nonce l\\u2019entente entre Qu\\xe9bec et Uber: explications',\n+            'description': 'L\\u2019industrie du taxi a unanimement a d\\xe9nonc\\xe9 l\\u2019entente avec le gouvernement du Qu\\xe9bec qui permet \\xe0 l\\u2019entreprise de covoiturage Uber de faire des affaires l\\xe9galement dans le cadre d\\u2019un projet pilote d\\u2019un an.',\n+            'uploader_id': '1741764581',\n+            'timestamp': 1473352030,\n+            'upload_date': '20160908',\n+        },\n+        'add_ie': ['BrightcoveNew'],\n+        'skip': 'Not accessible from Travis CI server',\n+    }\n+    BRIGHTCOVE_URL_TEMPLATE = 'http://players.brightcove.net/1741764581/default_default/index.html?videoId=%s'\n+\n+    def _real_extract(self, url):\n+        program_name = self._match_id(url)\n+        webpage = self._download_webpage(url, program_name)\n+        brightcove_id = self._search_regex(\n+            r'data-video-id\\=(.+[0-9]?)', webpage, 'brightcove id')","path":"youtube_dl/extractor/tvanouvelles.py","position":29,"original_position":29,"commit_id":"849112505f265cba4747b476bb2625fe9ed69c37","original_commit_id":"849112505f265cba4747b476bb2625fe9ed69c37","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":"That's not correct.","created_at":"2016-09-11T06:42:17Z","updated_at":"2016-09-11T06:42:17Z","html_url":"https://github.com/rg3/youtube-dl/pull/10616#discussion_r78288768","pull_request_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616","_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments/78288768"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/10616#discussion_r78288768"},"pull_request":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616"}}},"pull_request":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616","id":84773289,"html_url":"https://github.com/rg3/youtube-dl/pull/10616","diff_url":"https://github.com/rg3/youtube-dl/pull/10616.diff","patch_url":"https://github.com/rg3/youtube-dl/pull/10616.patch","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/10616","number":10616,"state":"open","locked":false,"title":"[tvanouvelles] New extractor","user":{"login":"jnbdz","id":237008,"avatar_url":"https://avatars.githubusercontent.com/u/237008?v=3","gravatar_id":"","url":"https://api.github.com/users/jnbdz","html_url":"https://github.com/jnbdz","followers_url":"https://api.github.com/users/jnbdz/followers","following_url":"https://api.github.com/users/jnbdz/following{/other_user}","gists_url":"https://api.github.com/users/jnbdz/gists{/gist_id}","starred_url":"https://api.github.com/users/jnbdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnbdz/subscriptions","organizations_url":"https://api.github.com/users/jnbdz/orgs","repos_url":"https://api.github.com/users/jnbdz/repos","events_url":"https://api.github.com/users/jnbdz/events{/privacy}","received_events_url":"https://api.github.com/users/jnbdz/received_events","type":"User","site_admin":false},"body":"## Please follow the guide below\r\n\r\n- You will be asked some questions, please read them **carefully** and answer honestly\r\n- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])\r\n- Use *Preview* tab to see how your *pull request* will actually look like\r\n\r\n---\r\n\r\n### Before submitting a *pull request* make sure you have:\r\n- [x] At least skimmed through [adding new extractor tutorial](https://github.com/rg3/youtube-dl#adding-support-for-a-new-site) and [youtube-dl coding conventions](https://github.com/rg3/youtube-dl#youtube-dl-coding-conventions) sections\r\n- [x] [Searched](https://github.com/rg3/youtube-dl/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests\r\n\r\n### What is the purpose of your *pull request*?\r\n- [ ] Bug fix\r\n- [x] New extractor\r\n- [ ] New feature\r\n\r\n---\r\n\r\n### Description of your *pull request* and other information\r\n\r\nI am just sending youtube-dl a new extractor. It's similar to AlJazeera.\r\n","created_at":"2016-09-11T01:11:35Z","updated_at":"2016-09-11T06:42:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c951ba2230abd7c921705b61402471618898d44","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616/commits","review_comments_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616/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/10616/comments","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/849112505f265cba4747b476bb2625fe9ed69c37","head":{"label":"jnbdz:tvanouvelles","ref":"tvanouvelles","sha":"849112505f265cba4747b476bb2625fe9ed69c37","user":{"login":"jnbdz","id":237008,"avatar_url":"https://avatars.githubusercontent.com/u/237008?v=3","gravatar_id":"","url":"https://api.github.com/users/jnbdz","html_url":"https://github.com/jnbdz","followers_url":"https://api.github.com/users/jnbdz/followers","following_url":"https://api.github.com/users/jnbdz/following{/other_user}","gists_url":"https://api.github.com/users/jnbdz/gists{/gist_id}","starred_url":"https://api.github.com/users/jnbdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnbdz/subscriptions","organizations_url":"https://api.github.com/users/jnbdz/orgs","repos_url":"https://api.github.com/users/jnbdz/repos","events_url":"https://api.github.com/users/jnbdz/events{/privacy}","received_events_url":"https://api.github.com/users/jnbdz/received_events","type":"User","site_admin":false},"repo":{"id":67766066,"name":"youtube-dl","full_name":"jnbdz/youtube-dl","owner":{"login":"jnbdz","id":237008,"avatar_url":"https://avatars.githubusercontent.com/u/237008?v=3","gravatar_id":"","url":"https://api.github.com/users/jnbdz","html_url":"https://github.com/jnbdz","followers_url":"https://api.github.com/users/jnbdz/followers","following_url":"https://api.github.com/users/jnbdz/following{/other_user}","gists_url":"https://api.github.com/users/jnbdz/gists{/gist_id}","starred_url":"https://api.github.com/users/jnbdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnbdz/subscriptions","organizations_url":"https://api.github.com/users/jnbdz/orgs","repos_url":"https://api.github.com/users/jnbdz/repos","events_url":"https://api.github.com/users/jnbdz/events{/privacy}","received_events_url":"https://api.github.com/users/jnbdz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jnbdz/youtube-dl","description":"Command-line program to download videos from YouTube.com and other video sites","fork":true,"url":"https://api.github.com/repos/jnbdz/youtube-dl","forks_url":"https://api.github.com/repos/jnbdz/youtube-dl/forks","keys_url":"https://api.github.com/repos/jnbdz/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnbdz/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnbdz/youtube-dl/teams","hooks_url":"https://api.github.com/repos/jnbdz/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/jnbdz/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/jnbdz/youtube-dl/events","assignees_url":"https://api.github.com/repos/jnbdz/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/jnbdz/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/jnbdz/youtube-dl/tags","blobs_url":"https://api.github.com/repos/jnbdz/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnbdz/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnbdz/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnbdz/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnbdz/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/jnbdz/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/jnbdz/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/jnbdz/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/jnbdz/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/jnbdz/youtube-dl/subscription","commits_url":"https://api.github.com/repos/jnbdz/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnbdz/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnbdz/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnbdz/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnbdz/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/jnbdz/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnbdz/youtube-dl/merges","archive_url":"https://api.github.com/repos/jnbdz/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnbdz/youtube-dl/downloads","issues_url":"https://api.github.com/repos/jnbdz/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/jnbdz/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/jnbdz/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/jnbdz/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnbdz/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/jnbdz/youtube-dl/releases{/id}","deployments_url":"https://api.github.com/repos/jnbdz/youtube-dl/deployments","created_at":"2016-09-09T04:37:29Z","updated_at":"2016-09-09T04:37:52Z","pushed_at":"2016-09-11T01:07:58Z","git_url":"git://github.com/jnbdz/youtube-dl.git","ssh_url":"git@github.com:jnbdz/youtube-dl.git","clone_url":"https://github.com/jnbdz/youtube-dl.git","svn_url":"https://github.com/jnbdz/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":40993,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rg3:master","ref":"master","sha":"bfcda07a2710738c32f63fdb4e09e177acc53df3","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":"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}","deployments_url":"https://api.github.com/repos/rg3/youtube-dl/deployments","created_at":"2010-10-31T14:35:07Z","updated_at":"2016-09-11T06:17:09Z","pushed_at":"2016-09-11T01:11:35Z","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":124252,"stargazers_count":20113,"watchers_count":20113,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3830,"mirror_url":null,"open_issues_count":1385,"forks":3830,"open_issues":1385,"watchers":20113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/10616"},"issue":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/10616"},"comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/10616/comments"},"review_comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/10616/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/10616/commits"},"statuses":{"href":"https://api.github.com/repos/rg3/youtube-dl/statuses/849112505f265cba4747b476bb2625fe9ed69c37"}}}}
{"actor":{"display_login":"dstftw"}}