我正在尝试从网页上获取表,但是我似乎无法让PowerBi正确加载该页面。
URL为 https://www.argentorshop.be/verkoop-uw-edelmetaal-aan-aan-argentorshop/verkoop-uw--uw-goudstaven-en-of-goudstaven-en-of-gouden-gouden-munten-munten-aan-aan-aan-argentor/
M试图导入的是 Gold Koersen
表,在此屏幕截图中以黄色突出显示。
但是,输入URL后,我得到了
后跟 datasource.error
我们无法检索网页的内容。
我已经尝试添加 http请求标头
和命令超时
,但似乎没有任何作用。
我还尝试首先使用另一个(工作)网页,并在 source
步骤中修改URL
Source = Web.BrowserContents("https://www.w3schools.com/html/html_tables.asp")
更改为,
Source = Web.BrowserContents("https://www.argentorshop.be/verkoop-uw-edelmetaal-aan-argentorshop/verkoop-uw-goudstaven-en-of-gouden-munten-aan-argentor/")
但会产生相同的错误。
另外,尝试在 options 中等待特定的选择器
web.browsercontents(url,options)通过 [waitfor = [selector =“ #verkopen&gt.bootstrap-table”; >不做这个问题。
有人知道在PowerBi中正确导入该表的方法吗?
I'm trying to get a table from a webpage, but I cannot seem to get PowerBI to correctly load that page.
The url is https://www.argentorshop.be/verkoop-uw-edelmetaal-aan-argentorshop/verkoop-uw-goudstaven-en-of-gouden-munten-aan-argentor/
The table I'm trying to import is the GOLD KOERSEN
table, highlighted in yellow in this screenshot.

However, after entering the url, I get

Followed by DataSource.Error
We were unable to retrieve the contents of the web page.

I already tried adding HTTP request headers
and Command timeout
but nothing seems to work.

I also tried to first use a different (working) webpage, and modify the url in the Source
step
Source = Web.BrowserContents("https://www.w3schools.com/html/html_tables.asp")
changed to
Source = Web.BrowserContents("https://www.argentorshop.be/verkoop-uw-edelmetaal-aan-argentorshop/verkoop-uw-goudstaven-en-of-gouden-munten-aan-argentor/")
but it yields the same error.
Also, trying to wait for a specific Selector
in the options
of Web.BrowserContents(url,options) by using [WaitFor = [Selector = "#verkopen > div.bootstrap-table"]]
doesn't do the trick.
Does anyone know of a way to correctly import that table in PowerBI?
发布评论
评论(1)
尝试一下。
Try this.