mirror of
https://github.com/SkyfallWasTaken/arcade-monitor.git
synced 2024-11-25 18:33:48 +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)
|
.get(shop_url)
|
||||||
.header("User-Agent", USER_AGENT)
|
.header("User-Agent", USER_AGENT)
|
||||||
.send()
|
.send()
|
||||||
.await?;
|
.await
|
||||||
let doc_html = response.text().await?;
|
.unwrap();
|
||||||
|
let doc_html = response.text().await.unwrap();
|
||||||
|
|
||||||
let doc = Html::parse_document(&doc_html);
|
let doc = Html::parse_document(&doc_html);
|
||||||
let selector = Selector::parse("#__NEXT_DATA__").unwrap();
|
let selector = Selector::parse("#__NEXT_DATA__").unwrap();
|
||||||
|
|
Loading…
Reference in a new issue