{"action":"created","issue":{"url":"https://api.github.com/repos/spaam/svtplay-dl/issues/324","labels_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/324/comments","events_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/324/events","html_url":"https://github.com/spaam/svtplay-dl/issues/324","id":125818293,"number":324,"title":"Error in autoname generation for episodes that contains \" in the title on Windows ","user":{"login":"qnorsten","id":12429682,"avatar_url":"https://avatars.githubusercontent.com/u/12429682?v=3","gravatar_id":"","url":"https://api.github.com/users/qnorsten","html_url":"https://github.com/qnorsten","followers_url":"https://api.github.com/users/qnorsten/followers","following_url":"https://api.github.com/users/qnorsten/following{/other_user}","gists_url":"https://api.github.com/users/qnorsten/gists{/gist_id}","starred_url":"https://api.github.com/users/qnorsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnorsten/subscriptions","organizations_url":"https://api.github.com/users/qnorsten/orgs","repos_url":"https://api.github.com/users/qnorsten/repos","events_url":"https://api.github.com/users/qnorsten/events{/privacy}","received_events_url":"https://api.github.com/users/qnorsten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-10T13:04:18Z","updated_at":"2016-01-10T13:26:43Z","closed_at":null,"body":"Hello Tries to download some stuff from öppet arkiv before it gets deleted. Most of the episodes works great but there is some problems with episodes that contains \" in the title. \r\n\r\nUsing the latest code from this gitbug repositary\r\n\r\nExample episodes: \r\n24 minuter Jason \"Timbuktu\" Diakité  - http://www.oppetarkiv.se/video/2112230/24-minuter\r\nAktuellt Ingrid Schrewelius om \"Katja of Sweden\" 1966  - http://www.oppetarkiv.se/video/1921800/aktuellt\r\nError output\r\n```\r\nINFO: Outfile: 24.minuter.jason.\"timbuktu\".diakite-2112230-svtplay.ts\r\nTraceback (most recent call last):\r\n  File \"P:\\Programing\\svtplay-dl\\lib\\svtplay_dl\\__main__.py\", line 13, in <modul\r\ne>\r\n    svtplay_dl.main()\r\n  File \"P:\\Programing\\svtplay-dl\\lib\\svtplay_dl\\__init__.py\", line 343, in main\r\n    get_media(url, options)\r\n  File \"P:\\Programing\\svtplay-dl\\lib\\svtplay_dl\\__init__.py\", line 173, in get_m\r\nedia\r\n    get_one_media(substream, copy.copy(options))\r\n  File \"P:\\Programing\\svtplay-dl\\lib\\svtplay_dl\\__init__.py\", line 230, in get_o\r\nne_media\r\n    stream.download()\r\n  File \"P:\\Programing\\svtplay-dl\\lib\\svtplay_dl\\fetcher\\hls.py\", line 88, in dow\r\nnload\r\n    file_d = output(self.options, \"ts\")\r\n  File \"P:\\Programing\\svtplay-dl\\lib\\svtplay_dl\\output.py\", line 171, in output\r\n    file_d = open(options.output, mode)\r\nOSError: [Errno 22] Invalid argument: '24.minuter.jason.\"timbuktu\".diakite-21122\r\n30-svtplay.ts'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/spaam/svtplay-dl/issues/comments/170344325","html_url":"https://github.com/spaam/svtplay-dl/issues/324#issuecomment-170344325","issue_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/324","id":170344325,"user":{"login":"spaam","id":202428,"avatar_url":"https://avatars.githubusercontent.com/u/202428?v=3","gravatar_id":"","url":"https://api.github.com/users/spaam","html_url":"https://github.com/spaam","followers_url":"https://api.github.com/users/spaam/followers","following_url":"https://api.github.com/users/spaam/following{/other_user}","gists_url":"https://api.github.com/users/spaam/gists{/gist_id}","starred_url":"https://api.github.com/users/spaam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaam/subscriptions","organizations_url":"https://api.github.com/users/spaam/orgs","repos_url":"https://api.github.com/users/spaam/repos","events_url":"https://api.github.com/users/spaam/events{/privacy}","received_events_url":"https://api.github.com/users/spaam/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T13:26:43Z","updated_at":"2016-01-10T13:26:43Z","body":"this works for me on both windows and *nix.  both master and the released version 0.20.2015.11.29"}}