Skip to content

Commit

Permalink
Fix bug where region would not work due to a weird url
Browse files Browse the repository at this point in the history
  • Loading branch information
lajp committed Nov 16, 2021
1 parent ad6727a commit 0dc6922
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vahti.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pub async fn update_vahtis(
url = url.replace("st=", "ad_type=");
url = url.replace("m=", "area=");
url = url.replace("ca=", "region=");
url = url.replace("_s", ""); // FIXME: not a good solution
if price_set {
url = url + &format!("&suborder={}-{}", &startprice, &endprice);
}
Expand Down

0 comments on commit 0dc6922

Please sign in to comment.