{"action":"created","issue":{"url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/issues/1","repository_url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl","labels_url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/issues/1/comments","events_url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/issues/1/events","html_url":"https://github.com/ThatNerdyPikachu/twist-dl/issues/1","id":407069762,"node_id":"MDU6SXNzdWU0MDcwNjk3NjI=","number":1,"title":"Handle unstable connections","user":{"login":"lnyaa","id":7283681,"node_id":"MDQ6VXNlcjcyODM2ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7283681?v=4","gravatar_id":"","url":"https://api.github.com/users/lnyaa","html_url":"https://github.com/lnyaa","followers_url":"https://api.github.com/users/lnyaa/followers","following_url":"https://api.github.com/users/lnyaa/following{/other_user}","gists_url":"https://api.github.com/users/lnyaa/gists{/gist_id}","starred_url":"https://api.github.com/users/lnyaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnyaa/subscriptions","organizations_url":"https://api.github.com/users/lnyaa/orgs","repos_url":"https://api.github.com/users/lnyaa/repos","events_url":"https://api.github.com/users/lnyaa/events{/privacy}","received_events_url":"https://api.github.com/users/lnyaa/received_events","type":"User","site_admin":false},"labels":[{"id":1219401038,"node_id":"MDU6TGFiZWwxMjE5NDAxMDM4","url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"ThatNerdyPikachu","id":15848969,"node_id":"MDQ6VXNlcjE1ODQ4OTY5","avatar_url":"https://avatars3.githubusercontent.com/u/15848969?v=4","gravatar_id":"","url":"https://api.github.com/users/ThatNerdyPikachu","html_url":"https://github.com/ThatNerdyPikachu","followers_url":"https://api.github.com/users/ThatNerdyPikachu/followers","following_url":"https://api.github.com/users/ThatNerdyPikachu/following{/other_user}","gists_url":"https://api.github.com/users/ThatNerdyPikachu/gists{/gist_id}","starred_url":"https://api.github.com/users/ThatNerdyPikachu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThatNerdyPikachu/subscriptions","organizations_url":"https://api.github.com/users/ThatNerdyPikachu/orgs","repos_url":"https://api.github.com/users/ThatNerdyPikachu/repos","events_url":"https://api.github.com/users/ThatNerdyPikachu/events{/privacy}","received_events_url":"https://api.github.com/users/ThatNerdyPikachu/received_events","type":"User","site_admin":false},"assignees":[{"login":"ThatNerdyPikachu","id":15848969,"node_id":"MDQ6VXNlcjE1ODQ4OTY5","avatar_url":"https://avatars3.githubusercontent.com/u/15848969?v=4","gravatar_id":"","url":"https://api.github.com/users/ThatNerdyPikachu","html_url":"https://github.com/ThatNerdyPikachu","followers_url":"https://api.github.com/users/ThatNerdyPikachu/followers","following_url":"https://api.github.com/users/ThatNerdyPikachu/following{/other_user}","gists_url":"https://api.github.com/users/ThatNerdyPikachu/gists{/gist_id}","starred_url":"https://api.github.com/users/ThatNerdyPikachu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThatNerdyPikachu/subscriptions","organizations_url":"https://api.github.com/users/ThatNerdyPikachu/orgs","repos_url":"https://api.github.com/users/ThatNerdyPikachu/repos","events_url":"https://api.github.com/users/ThatNerdyPikachu/events{/privacy}","received_events_url":"https://api.github.com/users/ThatNerdyPikachu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2019-02-06T03:42:22Z","updated_at":"2019-05-10T02:09:59Z","closed_at":null,"author_association":"NONE","body":"currently `twist-dl` just crashes (with a pretty bad error message: `thread 'main' panicked at 'failed to copy response to file: Custom { kind: WouldBlock, error: StringError(\"timed out\") }', src/libcore/result.rs:997:5`) when the network decides to give up in the middle of a download.\r\n\r\na good enough approach would involve `twist-dl` retrying the download for a set amount and then exit gracefully with a proper error message about the network.\r\n\r\nit's fine if handling unstability is out-of-scope for `twist-dl`, then at least a resuming operation would suffice? e.g start a download from an episode left off, you could determine that by writing to a temporary file, `<episode id>.mp4.tmp`, then checking if any exists when `twist-dl` is ran again, if it is, restart from that episode, instead of having to download all episodes again.."},"comment":{"url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/issues/comments/491128539","html_url":"https://github.com/ThatNerdyPikachu/twist-dl/issues/1#issuecomment-491128539","issue_url":"https://api.github.com/repos/ThatNerdyPikachu/twist-dl/issues/1","id":491128539,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MTEyODUzOQ==","user":{"login":"ThatNerdyPikachu","id":15848969,"node_id":"MDQ6VXNlcjE1ODQ4OTY5","avatar_url":"https://avatars3.githubusercontent.com/u/15848969?v=4","gravatar_id":"","url":"https://api.github.com/users/ThatNerdyPikachu","html_url":"https://github.com/ThatNerdyPikachu","followers_url":"https://api.github.com/users/ThatNerdyPikachu/followers","following_url":"https://api.github.com/users/ThatNerdyPikachu/following{/other_user}","gists_url":"https://api.github.com/users/ThatNerdyPikachu/gists{/gist_id}","starred_url":"https://api.github.com/users/ThatNerdyPikachu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThatNerdyPikachu/subscriptions","organizations_url":"https://api.github.com/users/ThatNerdyPikachu/orgs","repos_url":"https://api.github.com/users/ThatNerdyPikachu/repos","events_url":"https://api.github.com/users/ThatNerdyPikachu/events{/privacy}","received_events_url":"https://api.github.com/users/ThatNerdyPikachu/received_events","type":"User","site_admin":false},"created_at":"2019-05-10T02:09:59Z","updated_at":"2019-05-10T02:09:59Z","author_association":"OWNER","body":"sweet.\ngonna rewrite in go for memes, shouldn't be too hard.\n\nshould be eaiser to impl then, especially the progress bar."}}
{"actor":{"display_login":"ThatNerdyPikachu"}}