{"action":"created","issue":{"url":"https://api.github.com/repos/coursera-dl/edx-dl/issues/267","labels_url":"https://api.github.com/repos/coursera-dl/edx-dl/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/coursera-dl/edx-dl/issues/267/comments","events_url":"https://api.github.com/repos/coursera-dl/edx-dl/issues/267/events","html_url":"https://github.com/coursera-dl/edx-dl/issues/267","id":98667876,"number":267,"title":"ERROR: YouTube said: This video does not exist.","user":{"login":"yceron","id":7347802,"avatar_url":"https://avatars.githubusercontent.com/u/7347802?v=3","gravatar_id":"","url":"https://api.github.com/users/yceron","html_url":"https://github.com/yceron","followers_url":"https://api.github.com/users/yceron/followers","following_url":"https://api.github.com/users/yceron/following{/other_user}","gists_url":"https://api.github.com/users/yceron/gists{/gist_id}","starred_url":"https://api.github.com/users/yceron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yceron/subscriptions","organizations_url":"https://api.github.com/users/yceron/orgs","repos_url":"https://api.github.com/users/yceron/repos","events_url":"https://api.github.com/users/yceron/events{/privacy}","received_events_url":"https://api.github.com/users/yceron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coursera-dl/edx-dl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-03T04:08:54Z","updated_at":"2015-08-03T14:48:39Z","closed_at":null,"body":"Getting the following error trying to download MITx: 15.071x The Analytics Edge and then it crashes.\r\nERROR: YouTube said: This video does not exist.\r\n\r\nIt downloaded the first three videos and the first PDF for the first unit and then it throws the error.\r\n\r\nOS Version: Windows 10, 64bit\r\nPython version:  3.4\r\nyoutube-dl version: 2015.7.21\r\n\r\nCourse url: https://courses.edx.org/courses/course-v1:MITx+15.071x_2a+2T2015/info\r\n\r\nError output:\r\n[download] https://www.youtube.com/watch?v=iTpOrOvxx7o => Downloaded\\The_Analytics_Edge\\01-Unit_1-_An_Introduction_to_Analytics\\03-%(title)s-%(id)s.%(ext)s\r\nDownloading video with URL https://www.youtube.com/watch?v=iTpOrOvxx7o from YouTube.\r\n[youtube] iTpOrOvxx7o: Downloading webpage\r\n[youtube] iTpOrOvxx7o: Downloading video info webpage\r\nERROR: iTpOrOvxx7o: YouTube said: This video does not exist.\r\nTraceback (most recent call last):\r\n  File \"edx-dl.py\", line 6, in <module>\r\n    edx_dl.main()\r\n  File \"C:\\Temp\\edx\\edx_dl\\edx_dl.py\", line 903, in main\r\n    download(args, selections, all_units, headers)\r\n  File \"C:\\Temp\\edx\\edx_dl\\edx_dl.py\", line 734, in download\r\n    headers)\r\n  File \"C:\\Temp\\edx\\edx_dl\\edx_dl.py\", line 706, in download_unit\r\n    skip_or_download(res_downloads, headers, args)\r\n  File \"C:\\Temp\\edx\\edx_dl\\edx_dl.py\", line 665, in skip_or_download\r\n    f(url, filename, headers, args)\r\n  File \"C:\\Temp\\edx\\edx_dl\\edx_dl.py\", line 600, in download_url\r\n    download_youtube_url(url, filename, headers, args)\r\n  File \"C:\\Temp\\edx\\edx_dl\\edx_dl.py\", line 638, in download_youtube_url\r\n    execute_command(cmd, args)\r\n  File \"C:\\Temp\\edx\\edx_dl\\utils.py\", line 42, in execute_command\r\n    raise e\r\n  File \"C:\\Temp\\edx\\edx_dl\\utils.py\", line 37, in execute_command\r\n    subprocess.check_call(cmd)\r\n  File \"C:\\Python\\Python34\\lib\\subprocess.py\", line 561, in check_call\r\n    raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command '['youtube-dl', '--ignore-config', '-o',\r\n'Downloaded\\\\The_Analytics_Edge\\\\01-Unit_1-_An_Introduction_to_Analytics\\\\03-%(t\r\nitle)s-%(id)s.%(ext)s', '-f', 'mp4', 'https://www.youtube.com/watch?v=iTpOrOvxx7\r\no']' returned non-zero exit status 1\r\n"},"comment":{"url":"https://api.github.com/repos/coursera-dl/edx-dl/issues/comments/127266418","html_url":"https://github.com/coursera-dl/edx-dl/issues/267#issuecomment-127266418","issue_url":"https://api.github.com/repos/coursera-dl/edx-dl/issues/267","id":127266418,"user":{"login":"balta2ar","id":340676,"avatar_url":"https://avatars.githubusercontent.com/u/340676?v=3","gravatar_id":"","url":"https://api.github.com/users/balta2ar","html_url":"https://github.com/balta2ar","followers_url":"https://api.github.com/users/balta2ar/followers","following_url":"https://api.github.com/users/balta2ar/following{/other_user}","gists_url":"https://api.github.com/users/balta2ar/gists{/gist_id}","starred_url":"https://api.github.com/users/balta2ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balta2ar/subscriptions","organizations_url":"https://api.github.com/users/balta2ar/orgs","repos_url":"https://api.github.com/users/balta2ar/repos","events_url":"https://api.github.com/users/balta2ar/events{/privacy}","received_events_url":"https://api.github.com/users/balta2ar/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T14:48:39Z","updated_at":"2015-08-03T14:48:39Z","body":"```\r\nWe have to fix the script to deal with non-zero return values from youtube-dl.\r\n```\r\n@iemejia What's the strategy to deal with them? Simply run youtube-dl up to N times?"}}