{"issue":{"milestone":null,"user":{"login":"spidey","id":696327,"url":"https://api.github.com/users/spidey","avatar_url":"https://secure.gravatar.com/avatar/dd716b02472e9b21c17e62b289af01f7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"dd716b02472e9b21c17e62b289af01f7"},"title":"Add option to replace download progress overwrite (\\r) with newline (\\n)","created_at":"2011-12-17T15:51:02Z","labels":[],"updated_at":"2011-12-20T00:21:34Z","state":"closed","id":2589266,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/rg3/youtube-dl/issues/254","closed_at":"2011-12-19T23:16:27Z","body":"I want to use youtube-dl to download some video with a GUI. I've hoped that I could use the progress reported by youtube-dl to show a graphical progress bar in my GUI.\r\nThe problem is that parsing individual bytes is much harder than parsing lines of text. This is why I'd like a switch on youtube-dl to use \\n instead of \\r when reporting the downloaded status of the video so far.","number":254,"url":"https://api.github.com/repos/rg3/youtube-dl/issues/254","comments":2,"assignee":null},"comment":{"user":{"login":"spidey","id":696327,"url":"https://api.github.com/users/spidey","avatar_url":"https://secure.gravatar.com/avatar/dd716b02472e9b21c17e62b289af01f7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"dd716b02472e9b21c17e62b289af01f7"},"created_at":"2011-12-20T00:21:34Z","updated_at":"2011-12-20T00:21:34Z","id":3212125,"body":"That was what I did. I'm using Qt, so I made an intermediary \"buffer\" to process \\r into \\n. But thinking about command line usage, \"tr\" may do the trick.","url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/3212125"},"action":"created"}