Commit Graph

63 Commits

Author SHA1 Message Date
Nemo ebf1b57e22
Merge pull request #12 from pradn/better-errors
Improve error handling
2020-04-20 03:23:24 +05:30
Prad Nelluru 2206c41228 Use response.body, not response.body_io, which is nil when you pass in HTTPClient for some reason. 2020-04-19 17:50:06 -04:00
Prad Nelluru 4e435dd3ab Add 60s timeout to downloads. Do backoff for all errors. 2020-04-19 17:44:21 -04:00
Prad Nelluru 9659c0ef5e
Trim chapter titles to ensure bookmarks are valid in PDF (#11) 2020-04-20 02:03:30 +05:30
Prad Nelluru 762164e223 more descriptive error messages 2020-04-19 15:18:05 -04:00
Prad Nelluru 77201bda85 Fix download issue - revert to using body_io 2020-04-19 15:00:59 -04:00
Prad Nelluru db2d86c1a8 Also add exception message to top-level rescue 2020-04-19 14:49:41 -04:00
Prad Nelluru 1d2f53bad0 forgot to git-add new error files 2020-04-19 14:46:26 -04:00
Prad Nelluru 26d96d3f7d Remove assert that temp path be tmp. It has been changed to an actual random temp path so we can't test for it easily. 2020-04-19 02:40:42 -04:00
Prad Nelluru 5d9d951c9a Write backtrace in top-level rescue blocks. 2020-04-19 02:24:09 -04:00
Prad Nelluru 483f838d24 Report pdftk and download errors. Add exponential backoff to downloading after download failures. Add top-level rescue block to improve forward progress. 2020-04-19 01:58:20 -04:00
Nemo d52b06377d Version bump (1.1.2) 2020-04-05 18:58:28 +05:30
Nemo b7aad7a3c2 Add link to download message 2020-04-05 18:58:02 +05:30
Nemo 380f1f03f8 Put URL when skipping a file 2020-04-05 18:57:24 +05:30
Nemo 61005ab405 fix docker image to edge 2020-04-05 04:41:49 +05:30
Nemo 5ce11df239 [docker] Install Make 2020-04-05 03:08:57 +05:30
Nemo 449be5e554 Version bump 2020-04-05 02:55:35 +05:30
Nemo c08b8b7284 Show version in help 2020-04-05 02:55:19 +05:30
Nemo 1d95cce3f8 Catch another PDF error 2020-04-05 02:14:50 +05:30
Nemo aec6d853b3 Use latest release tag in docs 2020-04-04 03:53:03 +05:30
Nemo 78043e81a2 [docs] Adds list of docker images 2020-04-04 03:51:18 +05:30
Nemo b7cae52cb4 Version Bump 2020-04-04 03:44:08 +05:30
Nemo 60b8581b73
Merge pull request #7 from captn3m0/docker
Docker support
2020-04-04 03:43:29 +05:30
Nemo e1cab9afe2 [docs] Docker 2020-04-04 03:39:46 +05:30
Nemo 88a23f6370 Finishes Dockerfile for running 2020-04-04 03:39:35 +05:30
Nemo 2d7430e780 Switch to official crystal image 2020-04-04 03:39:19 +05:30
Nemo 0b2867cf2f Adds a release build script 2020-04-04 02:02:30 +05:30
Nemo 1de2b56f4b docker 2020-04-04 02:02:30 +05:30
Nemo 71325be236 move shards install to install stage 2020-04-04 02:02:30 +05:30
Nemo 81dc6e0a76 Run shards install 2020-04-04 02:02:30 +05:30
Nemo 252e896785 Adds a static builder 2020-04-04 02:02:30 +05:30
Nemo b354440d60 Adds ubuntu based Dockerfile 2020-04-04 02:02:30 +05:30
Nemo ce0a901b47 Initial Dockerfile 2020-04-04 02:02:30 +05:30
Nemo 82ce97cbc8 Adds fix for corrupt PDF error from MUSE 2020-04-04 01:24:35 +05:30
Nemo ae2a35bb7b Version Bump 2020-04-04 01:19:59 +05:30
Nemo 00c80bf8e4 Fixes #6 2020-04-04 01:17:31 +05:30
Nemo 1a5086b2d7 Catch books with missing dates 2020-04-04 01:10:11 +05:30
Nemo 0b241d6a47 Fix broken binary issue 2020-04-01 17:51:57 +05:30
Nemo 5acf617b3d MOAR badges 💥 2020-04-01 02:15:48 +05:30
Nemo 18a051e20f [ci] Fixes CI Build 2020-04-01 02:04:15 +05:30
Nemo f4cf8ce97c Release 1.0.0 2020-04-01 01:37:47 +05:30
Nemo f3c757984a Skip books that don't support PDF 2020-04-01 01:36:53 +05:30
Nemo 2a78be1022 Adds support for .formats and fixes tests 2020-04-01 01:33:54 +05:30
Nemo 98da71989c Add warning note 2020-03-30 02:39:49 +05:30
Nemo 955aec3a1b Adds support for cookies 2020-03-30 02:33:55 +05:30
Nemo 923e589413 Fix output-file flag when INPUT FILE is given 2020-03-30 01:17:44 +05:30
Nemo 5ea33ef7b2 Support for passing a list of links 2020-03-30 00:51:09 +05:30
Nemo 220c1efa8d Enable Travis, because why not 2020-03-30 00:24:35 +05:30
Nemo 9f0c9c5534 Improve README 2020-03-30 00:22:59 +05:30
Nemo 79b95e2a67 Adds --clobber support 2020-03-30 00:08:10 +05:30