mirror of
https://github.com/SkyfallWasTaken/arcade-monitor.git
synced 2024-11-21 16:43:38 +00:00
Fix compile errors
This commit is contained in:
parent
25cef90288
commit
71591017e3
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue