{"action":"opened","number":6643,"pull_request":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6643","id":43118824,"html_url":"https://github.com/rg3/youtube-dl/pull/6643","diff_url":"https://github.com/rg3/youtube-dl/pull/6643.diff","patch_url":"https://github.com/rg3/youtube-dl/pull/6643.patch","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6643","number":6643,"state":"open","locked":false,"title":"[spankwire] Update extractor for new cdn video url format","user":{"login":"clauderains","id":13926847,"avatar_url":"https://avatars.githubusercontent.com/u/13926847?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderains","html_url":"https://github.com/clauderains","followers_url":"https://api.github.com/users/clauderains/followers","following_url":"https://api.github.com/users/clauderains/following{/other_user}","gists_url":"https://api.github.com/users/clauderains/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderains/subscriptions","organizations_url":"https://api.github.com/users/clauderains/orgs","repos_url":"https://api.github.com/users/clauderains/repos","events_url":"https://api.github.com/users/clauderains/events{/privacy}","received_events_url":"https://api.github.com/users/clauderains/received_events","type":"User","site_admin":false},"body":"##### Added extractor capability for the new cdn video url format, and added a test case.\r\n\r\n##### An update (\"youtube-dl -U\") was performed prior to the invocation below, which shows the issue that the changes in this pull request resolve.\r\n---\r\n\r\n$youtube-dl --verbose \"http://www.spankwire.com/Titcums-Compiloation-I/video1921551/\"\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'--verbose', u'http://www.spankwire.com/Titcums-Compiloation-I/video1921551/']\r\n[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2015.08.16.1\r\n[debug] Python version 2.7.1 - Darwin-11.4.2-x86_64-i386-64bit\r\n[debug] exe versions: ffmpeg 2.2.4, ffprobe 2.2.4\r\n[debug] Proxy map: {}\r\n[Spankwire] 1921551: Downloading webpage\r\nWARNING: unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\nTraceback (most recent call last):\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/usr/local/bin/youtube-dl/__main__.py\", line 19, in <module>\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/__init__.py\", line 410, in main\r\n    \r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/__init__.py\", line 400, in _real_main\r\n    \r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1653, in download\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 655, in extract_info\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 287, in extract\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/spankwire.py\", line 87, in _real_extract\r\nValueError: invalid literal for int() with base 10: 'mp4'","created_at":"2015-08-23T10:09:51Z","updated_at":"2015-08-23T10:09:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6643/commits","review_comments_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/6643/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/6643/comments","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/3905b06f29748a4bf5cb9113e00bac4c22a49fea","head":{"label":"clauderains:master","ref":"master","sha":"3905b06f29748a4bf5cb9113e00bac4c22a49fea","user":{"login":"clauderains","id":13926847,"avatar_url":"https://avatars.githubusercontent.com/u/13926847?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderains","html_url":"https://github.com/clauderains","followers_url":"https://api.github.com/users/clauderains/followers","following_url":"https://api.github.com/users/clauderains/following{/other_user}","gists_url":"https://api.github.com/users/clauderains/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderains/subscriptions","organizations_url":"https://api.github.com/users/clauderains/orgs","repos_url":"https://api.github.com/users/clauderains/repos","events_url":"https://api.github.com/users/clauderains/events{/privacy}","received_events_url":"https://api.github.com/users/clauderains/received_events","type":"User","site_admin":false},"repo":{"id":41243588,"name":"youtube-dl","full_name":"clauderains/youtube-dl","owner":{"login":"clauderains","id":13926847,"avatar_url":"https://avatars.githubusercontent.com/u/13926847?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderains","html_url":"https://github.com/clauderains","followers_url":"https://api.github.com/users/clauderains/followers","following_url":"https://api.github.com/users/clauderains/following{/other_user}","gists_url":"https://api.github.com/users/clauderains/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderains/subscriptions","organizations_url":"https://api.github.com/users/clauderains/orgs","repos_url":"https://api.github.com/users/clauderains/repos","events_url":"https://api.github.com/users/clauderains/events{/privacy}","received_events_url":"https://api.github.com/users/clauderains/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clauderains/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/clauderains/youtube-dl","forks_url":"https://api.github.com/repos/clauderains/youtube-dl/forks","keys_url":"https://api.github.com/repos/clauderains/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clauderains/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clauderains/youtube-dl/teams","hooks_url":"https://api.github.com/repos/clauderains/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/clauderains/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/clauderains/youtube-dl/events","assignees_url":"https://api.github.com/repos/clauderains/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/clauderains/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/clauderains/youtube-dl/tags","blobs_url":"https://api.github.com/repos/clauderains/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clauderains/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clauderains/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/clauderains/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clauderains/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/clauderains/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/clauderains/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/clauderains/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/clauderains/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/clauderains/youtube-dl/subscription","commits_url":"https://api.github.com/repos/clauderains/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/clauderains/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/clauderains/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/clauderains/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/clauderains/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/clauderains/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clauderains/youtube-dl/merges","archive_url":"https://api.github.com/repos/clauderains/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clauderains/youtube-dl/downloads","issues_url":"https://api.github.com/repos/clauderains/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/clauderains/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/clauderains/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/clauderains/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clauderains/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/clauderains/youtube-dl/releases{/id}","created_at":"2015-08-23T09:25:10Z","updated_at":"2015-08-23T09:25:19Z","pushed_at":"2015-08-23T09:50:24Z","git_url":"git://github.com/clauderains/youtube-dl.git","ssh_url":"git@github.com:clauderains/youtube-dl.git","clone_url":"https://github.com/clauderains/youtube-dl.git","svn_url":"https://github.com/clauderains/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":78180,"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":"2b6bda1ed86e1b64242b33c032286dc315d541ae","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-08-23T09:51:31Z","pushed_at":"2015-08-23T05:22:00Z","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":78180,"stargazers_count":11059,"watchers_count":11059,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2219,"mirror_url":null,"open_issues_count":1204,"forks":2219,"open_issues":1204,"watchers":11059,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/6643"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/6643"},"issue":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/6643"},"comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/6643/comments"},"review_comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/6643/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/6643/commits"},"statuses":{"href":"https://api.github.com/repos/rg3/youtube-dl/statuses/3905b06f29748a4bf5cb9113e00bac4c22a49fea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":59,"deletions":27,"changed_files":1}}