我正试图从网址上抓取一张图片。首先我尝试使用一个简单的img,但它一直在返回:
Failed to load resource: the server responded with a status of 403 (Forbidden)
然后我尝试嵌入iframe,但返回
Refused to display 'http://www.gosugamers.net//uploads/images/teams/10649-1422301535.jpeg' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
我想这是因为这个网站不允许使用热链接图片,但是它怎么会在jsfiddle中运行呢?