Commit Graph

33 Commits

Author SHA1 Message Date
blankie acea5d26df
Bump version to 0.6.0 2023-10-28 13:10:28 +11:00
blankie 8f75ac0b45
Add related 2023-10-28 13:09:17 +11:00
blankie 13c365c3a7
Scrape results page instead of using the API
For some reason, some search queries fail with a "does not exist" error,
like "seven young goats". There actually was a doujin with "seven young
goats" in the title (254818), but it seems like it was deleted. Perhaps
the web frontend ignores deleted doujins, but the API doesn't and fails?
2023-10-28 12:51:18 +11:00
blankie 841d740475
Move more sauce common code into get_arg_sauces 2023-10-28 11:49:55 +11:00
blankie 1d8210967c
Unify errors into one struct 2023-10-28 11:49:35 +11:00
blankie dd62cc2c19
Add NHENTAIRS_INSECURE 2023-10-28 11:25:53 +11:00
blankie c2ea9b87b0
cargo fmt 2023-10-28 11:11:16 +11:00
blankie 9ca4dda9d9
Move utils::download_file into commands/download.rs 2023-10-28 11:09:48 +11:00
blankie bb80105b4a
Split requests into their own module 2023-10-28 11:08:10 +11:00
blankie 4769baf875
Update dependencies 2023-10-28 11:04:40 +11:00
blank X 7d2065d5f1
Update dependencies 2022-04-30 18:01:47 +07:00
blank X 2c85edb9a8 Add more reliability 2021-01-27 00:28:11 +07:00
blank X d8268565a4 Handle existing English and Japanese titles but empty 2021-01-19 14:28:01 +07:00
blank X c351c33898 Update to tokio 1.0 2021-01-06 23:28:09 +07:00
blank X 0e0cfac155 Update copyright year from 2020 to 2021 2021-01-01 10:44:41 +07:00
blank X 0d84c57106 Make info fail if you pass empty arguments 2020-12-28 01:49:50 +07:00
blank X 9e43a5818d Remove utils::human_sauce_info 2020-12-20 17:14:55 +07:00
blank X cf9adfd203 Print extra new line on the correct output 2020-12-05 00:08:40 +07:00
blank X c5b61bac25 Create info.txt if all the queries are successful, download now prints to stderr and speed boost 2020-12-04 12:19:46 +07:00
blank X 045bb9d6ca Exit with 1 if there's at least one fail on info 2020-12-04 08:25:17 +07:00
blank X cea920a080 Remove utils::fix_gallery 2020-12-02 23:00:36 +07:00
blank X 829e8ad36c Use i32 instead of usize 2020-12-02 22:34:42 +07:00
blank X b4d07aa1ae Remove tokio's macros feature 2020-12-02 11:55:32 +07:00
blank X 572c0b8524 Bump version 2020-12-02 00:34:40 +07:00
blank X da1f6365e2 Drop info.txt on new downloads 2020-12-02 00:33:26 +07:00
blank X 8a67b74ce2 Make info not shit itself when it gets an error 2020-12-02 00:15:45 +07:00
blank X 3bdf78e03d Add utils::human_sauce_info 2020-12-01 22:02:05 +07:00
blank X a849053fd3 Change assert_eq to assert 2020-11-16 18:34:31 +07:00
blank X ecbc3a50f5 Bump version 2020-10-26 18:41:47 +07:00
blank X 69a299495d speed and stuff 2020-10-26 18:28:39 +07:00
blank X f28aa893d8 Bump version 2020-09-12 20:56:35 +07:00
blank X d5c3107e09 Use DOWNLOAD_WORKERS more 2020-09-12 20:54:26 +07:00
blank X c5dab76260 Initial commit 2020-09-12 19:26:07 +07:00