Skip to content

Commit a9e8835

Browse files
committed
Fix e-hentai reqwest error in 404 pages
Since we are not using ProxiedClient, we have to allow non 2xx pages to proceed.
1 parent 4961f7d commit a9e8835

File tree

1 file changed

+1
-2
lines changed
  • eh2telegraph/src/collector/utils

1 file changed

+1
-2
lines changed

eh2telegraph/src/collector/utils/paged.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ where
4343
let content = client
4444
.get_builder(&url)
4545
.send()
46-
.await
47-
.and_then(Response::error_for_status)?
46+
.await?
4847
.text()
4948
.await?;
5049
self.next_page += 1;

0 commit comments

Comments
 (0)