How to parse Source Html Code from url with Ember?


#1

Hi, i am new in Ember JS, i used Django Python a Lot, and want to used Ember with it… With python i used BeautifullSoup to parse some html page when i need to grab some information from an url…

I try to do the same with Ember…

Here the process : Ember --> call url Ember --> Read source code from url Ember --> Parse some information on this source code and used it on my app

What i need ? How Ember call url and grab source code from it ? How Ember can read and parse the Code ?

Thx for help, give me some direction :wink:

lo


#2

If the data is not from coming from a source where you control the CORS headers I don’t think this is possible,

Perhaps create some test route to see you are allowed to fetch the html source.