Message Boards Message Boards


[✓] Get HTML of a website using Import?

Posted 1 year ago
1 Reply
1 Total Likes

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.


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.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract