Fix compile errors

This commit is contained in:
SkyfallWasTaken 2024-07-09 22:12:58 +01:00
parent 25cef90288
commit 71591017e3

View file

@ -33,8 +33,9 @@ pub async fn try_fetch(shop_url: Url) -> Result<ShopItems> {
.get(shop_url)
.header("User-Agent", USER_AGENT)
.send()
.await?;
let doc_html = response.text().await?;
.await
.unwrap();
let doc_html = response.text().await.unwrap();
let doc = Html::parse_document(&doc_html);
let selector = Selector::parse("#__NEXT_DATA__").unwrap();