我如何从 flutter 的网页中抓取特定的 url/links

How do i scrape a specific url/links from a webpage in flutter

我正在尝试使用此 flutter 包 web_scraper:^0.1 从网页中抓取特定的 link("https://mobohng.com/breaking-lol-sit-at-home-order-grounds-again/")。 4. 以下是我要抓取的link的html格式:

<h3 class="entry-title"><a href="https://mobohng.com/breaking-lol-sit-at-home-order-grounds-again/">This is the way it goes again again</a></h3>

以下是我到目前为止尝试过的方法:

List<Map<String, dynamic>> elementsUrl = webScraper.getElement('h3.entry-title > a.href', ['href']);

问题是,我得到的结果为空。我的问题是我做错了什么?任何帮助将不胜感激。谢谢

尝试:

List<Map<String, dynamic>> elementsUrl;
elementUrl = webScraper.getElement('h3.entry-title > a', ['href']);