{"action":"created","issue":{"url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/49","labels_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/49/comments","events_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/49/events","html_url":"https://github.com/gaganpreet/udemy-dl/issues/49","id":70035046,"number":49,"title":"Cannot download lecture","user":{"login":"dma1979","id":11265397,"avatar_url":"https://avatars.githubusercontent.com/u/11265397?v=3","gravatar_id":"","url":"https://api.github.com/users/dma1979","html_url":"https://github.com/dma1979","followers_url":"https://api.github.com/users/dma1979/followers","following_url":"https://api.github.com/users/dma1979/following{/other_user}","gists_url":"https://api.github.com/users/dma1979/gists{/gist_id}","starred_url":"https://api.github.com/users/dma1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dma1979/subscriptions","organizations_url":"https://api.github.com/users/dma1979/orgs","repos_url":"https://api.github.com/users/dma1979/repos","events_url":"https://api.github.com/users/dma1979/events{/privacy}","received_events_url":"https://api.github.com/users/dma1979/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-22T06:22:08Z","updated_at":"2015-08-13T03:30:53Z","closed_at":null,"body":"I have used your application many times and it worked perfect.\r\nBut for one course I got a strange error by trying this course:\r\nhttps://www.udemy.com/deploying-angularjs/\r\n\r\nFull stack:\r\nc:\\Python34\\Scripts>python https://www.udemy.com/deploying-angularjs\r\nDownloading to: c:\\Python34\\Scripts\\deploying-angularjs\r\n\r\nCannot download lecture \"Technical Requirements\"\r\nCannot download lecture \"Scaffolding of the Project\"\r\nCannot download lecture \"A Sneak Peek of the Final Application\"\r\nCannot download lecture \"Building the BrowserSync and SASS Workflow\"\r\nCannot download lecture \"The Animals Service\"\r\nTraceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\site-packages\\udemy_dl\\udemy_dl.py\", line 107, in get_vi\r\ndeo_links\r\n    video_url = parse_video_url(lecture_id, hd)\r\n  File \"C:\\Python34\\lib\\site-packages\\udemy_dl\\udemy_dl.py\", line 71, in parse_v\r\nideo_url\r\n    re.MULTILINE | re.DOTALL).group(1)\r\nAttributeError: 'NoneType' object has no attribute 'group'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"udemy-dl\", line 5, in <module>\r\n    main()\r\n  File \"C:\\Python34\\lib\\site-packages\\udemy_dl\\udemy_dl.py\", line 194, in main\r\n    udemy_dl(username, password, link, output_dir)\r\n  File \"C:\\Python34\\lib\\site-packages\\udemy_dl\\udemy_dl.py\", line 148, in udemy_\r\ndl\r\n    for video in get_video_links(course_id, hd=True):\r\n  File \"C:\\Python34\\lib\\site-packages\\udemy_dl\\udemy_dl.py\", line 114, in get_vi\r\ndeo_links\r\n    print('Cannot download lecture \"%s\"' % (lecture))\r\n  File \"C:\\Python34\\lib\\encodings\\cp866.py\", line 19, in encode\r\n    return codecs.charmap_encode(input,self.errors,encoding_map)[0]\r\nUnicodeEncodeError: 'charmap' codec can't encode character '\\u2019' in position\r\n47: character maps to <undefined>\r\n\r\nHope you can resolve it."},"comment":{"url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/comments/130519048","html_url":"https://github.com/gaganpreet/udemy-dl/issues/49#issuecomment-130519048","issue_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/49","id":130519048,"user":{"login":"rinodung","id":7805715,"avatar_url":"https://avatars.githubusercontent.com/u/7805715?v=3","gravatar_id":"","url":"https://api.github.com/users/rinodung","html_url":"https://github.com/rinodung","followers_url":"https://api.github.com/users/rinodung/followers","following_url":"https://api.github.com/users/rinodung/following{/other_user}","gists_url":"https://api.github.com/users/rinodung/gists{/gist_id}","starred_url":"https://api.github.com/users/rinodung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinodung/subscriptions","organizations_url":"https://api.github.com/users/rinodung/orgs","repos_url":"https://api.github.com/users/rinodung/repos","events_url":"https://api.github.com/users/rinodung/events{/privacy}","received_events_url":"https://api.github.com/users/rinodung/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T03:30:53Z","updated_at":"2015-08-13T03:30:53Z","body":"This may be a bug, when it can not get correct video url(from flashplayer)? Waiting for fixing..."}}