{"action":"created","issue":{"url":"https://api.github.com/repos/shk3/edx-downloader/issues/114","labels_url":"https://api.github.com/repos/shk3/edx-downloader/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/shk3/edx-downloader/issues/114/comments","events_url":"https://api.github.com/repos/shk3/edx-downloader/issues/114/events","html_url":"https://github.com/shk3/edx-downloader/issues/114","id":31444111,"number":114,"title":"Subs can't be downloaded","user":{"login":"Xiaohong-Deng","id":3221403,"avatar_url":"https://avatars.githubusercontent.com/u/3221403?v=3","gravatar_id":"","url":"https://api.github.com/users/Xiaohong-Deng","html_url":"https://github.com/Xiaohong-Deng","followers_url":"https://api.github.com/users/Xiaohong-Deng/followers","following_url":"https://api.github.com/users/Xiaohong-Deng/following{/other_user}","gists_url":"https://api.github.com/users/Xiaohong-Deng/gists{/gist_id}","starred_url":"https://api.github.com/users/Xiaohong-Deng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xiaohong-Deng/subscriptions","organizations_url":"https://api.github.com/users/Xiaohong-Deng/orgs","repos_url":"https://api.github.com/users/Xiaohong-Deng/repos","events_url":"https://api.github.com/users/Xiaohong-Deng/events{/privacy}","received_events_url":"https://api.github.com/users/Xiaohong-Deng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-04-14T08:55:50Z","updated_at":"2015-05-06T10:44:19Z","closed_at":"2015-05-06T10:44:19Z","body":"I read the code. I think the function **get_filename()**  doesn't return any string. I failed to trace back any further.\r\n```Traceback (most recent call last):\r\n  File \"edx-dl.py\", line 414, in <module>\r\n    main()\r\n  File \"edx-dl.py\", line 390, in main\r\n    subs_filename = os.path.join(target_dir, filename + '.srt')\r\nTypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode'```"},"comment":{"url":"https://api.github.com/repos/shk3/edx-downloader/issues/comments/99415072","html_url":"https://github.com/shk3/edx-downloader/issues/114#issuecomment-99415072","issue_url":"https://api.github.com/repos/shk3/edx-downloader/issues/114","id":99415072,"user":{"login":"iemejia","id":79476,"avatar_url":"https://avatars.githubusercontent.com/u/79476?v=3","gravatar_id":"","url":"https://api.github.com/users/iemejia","html_url":"https://github.com/iemejia","followers_url":"https://api.github.com/users/iemejia/followers","following_url":"https://api.github.com/users/iemejia/following{/other_user}","gists_url":"https://api.github.com/users/iemejia/gists{/gist_id}","starred_url":"https://api.github.com/users/iemejia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iemejia/subscriptions","organizations_url":"https://api.github.com/users/iemejia/orgs","repos_url":"https://api.github.com/users/iemejia/repos","events_url":"https://api.github.com/users/iemejia/events{/privacy}","received_events_url":"https://api.github.com/users/iemejia/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T10:44:19Z","updated_at":"2015-05-06T10:44:19Z","body":"Subtitles seem to be working ok, so I am closing this one, if it is still an error please report here to re open it."}}