Message Boards Message Boards

[✓] Get HTML of a website using Import?


Hi. I am trying to use Import to read a webpage, but it doesn't seem to work. Please help.

website =  ""
websiteData = Import[website]

websiteData just ends up as a blank string.

Any help would be much appreciated. Thank you.


POSTED BY: Priyan Fernando
6 months ago

The website you are trying to import is built with AngularJS. I don't think there is any way to 'get' its contents other than viewing in a modern web browser. Perhaps you could ask that company if they have an api that you could programmatically access.

POSTED BY: Chad Knutson
6 months ago

Group Abstract Group Abstract