how to get images from other web page and show in my website

前端 未结 3 1335
[愿得一人]
[愿得一人] 2021-01-17 01:36

I just want to know how to get images from other web page and show in my website.

Case flow is:

  1. Type some page URL in text box and submit
3条回答
  •  南方客
    南方客 (楼主)
    2021-01-17 02:10

    If you want do scrape other websites with javascript, you should create a server side script which can act as proxy or you can use YQL.

    Here's my answer for cross domain ajax call with YQL,

    Cross Domain Post method ajax call using jquery with xml response

提交回复
热议问题