bhcli

"Strange's fork of n0tr1v's bhcli (onion)"
git clone https://git.dasho.dev/Strange/bhcli.git
Log | Files | Refs | README

commit 00ad242dae27cfcdad32f72d27db9e84594d8022
parent 5dc2e977f827f7904c9848e1bbe5c1ad6b31448e
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 28 Apr 2023 20:54:59 -0700

fix bhc dynamic page php

Diffstat:
Msrc/main.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -495,6 +495,7 @@ impl LeChatPHPClient { if resp.status() != StatusCode::SEE_OTHER { return Err(LoginErr::CaptchaWgErr); } + self.config.page_php = resp.headers().get("location").map(|v| v.to_str().unwrap()).unwrap_or(&self.config.page_php).to_string(); } self.session = Some(lechatphp::login( &self.client, &self.config.url, &self.config.page_php, &self.base_client.username,