Using JQuery to get the HTML from another website: Possible? Legal?

后端 未结 5 1874
猫巷女王i
猫巷女王i 2021-02-04 14:40

I am trying to get HTML code from a webpage that is not in the same domain. The html text is parsed & summarises a recipe(recipe name, main ingredients, no. of steps) found

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-04 15:37

    I´m not to sure if it counts as pure javascript solution but: http://developer.yahoo.com/yql/ could help you with what you are looking for.

提交回复
热议问题