Forum Discussion
Recover data from a web page with connection
Hi !
I want to use data from web page who have a login page. I explain what i did step by step.
- I choose data from Web
- I put my url
- I choose connexion : Base like this -> picture with my id and password.
- I have this error message -> picture
- I close the message
- Power Bi Desktop infinite search and don't do anything
Because of the error message i test in anonymous but i'm block on the loging page of the website.
I don't know what i can do to use this data. I need yours help.
Thanks for yours ansmwers.
Hi. Scrapping data from a website is not something you can do in every site. There are copyrights. Usually the web sites with login you shouldn't do that. I think that's one of the reasons why Power Bi can't use web connector for webs with login. The web connector will check html of the url you provide. It can't send your user and password. If the web site want the users to take data, it will have some export button or API to take it.
Please check one of those last options for the website. Otherwise I don't think you will be able to scrapp it with web connector.
Regards,
4 Replies
- ibarrau
Super User
Hi. Scrapping data from a website is not something you can do in every site. There are copyrights. Usually the web sites with login you shouldn't do that. I think that's one of the reasons why Power Bi can't use web connector for webs with login. The web connector will check html of the url you provide. It can't send your user and password. If the web site want the users to take data, it will have some export button or API to take it.
Please check one of those last options for the website. Otherwise I don't think you will be able to scrapp it with web connector.
Regards,
- AnonymousNot applicable
Thank you for all of this reply, i try to use API now.
- amitchandak
Super User
Anonymous , refer this
https://community.powerbi.com/t5/Service/Anonymous-access/td-p/19136
- v-alq-msft
Community Support
Hi, Anonymous
The old Web connector used Web.Page , which supports non-anonymous credentials. While the new Web connector uses Web.BrowserContents , which only supports anonymous credentials. You can continue to use Web.Page via M if you like, and any old queries that use Web.Page will continue functioning. If you want to switch back to the old Web connector, you can disable the "New web table inference" preview feature in the Options dialog.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.