2014-02-21 144 views
1

尋找我的網站上的照片與谷歌搜索引擎得到以下鏈接查詢:403禁止 - 得到圖像的URL從谷歌

http://www.rionegro.com.ar/diario/funciones/binario/imagen.aspx%3Fidart%3D380098%26idcat%3D9862%26idcon%3D1087449%26resolucion%3D1%26tipo%3D2

正如你所看到的,網址有特殊字符,但我認爲它不應該是問題。

在搜索結果中,而不是顯示的圖像,它顯示了以下錯誤:

403禁止

我檢查的Firefox的螢火蟲,我得到如下:

Response Headers 
HTTP/1.1 403 Forbidden 
Content- Length: 0 
Server : Microsoft-IIS/7.5 
X -Powered -By : ASP.NET 
Date: Fri, 21 February 2014 20:53:02 GMT 

請求頭 GET /diario/funciones/binario/imagen.aspx%3Fidart%3D380098%26idcat%3D9862%26idcon%3D1087449%26resolucion%3D1%26tipo%3D2 HTTP/1.1 主持人:www.rionegro.com.ar 用戶-Agent:Mozilla/5.0(Windows NT 6.1; WOW64; rv:27.0)Gecko/20100101 Firefox/27.0 接受:text/html,application/xhtml + xml,application/xml; q = 0.9,*/*,q = 0.8 Accept- Language:en -ar,is,q = 0.8,en- q = 0.5,in,q = 0.3 接受編碼:gzip,deflate Cookie:__ utma = 194708910.1295956645.1392158205.1392994869.1393012210.13; __utmz = 194708910.1392413045.7.2.utmcsr = 200.32.2.69 | utmccn =(轉介)| utmcmd =轉介| utmcct =/diario/inicio.aspx; _cb_ls = 1; _chartbeat2 = qdoy9rkh40fmppme.1392162975510.1392982793966.11011111011; _chartbeat_uuniq = 2 連接:保持-alive 的cache控制:最大 - 年齡= 0

如果我把與特殊字符的搜索正確的網址:

http://www.rionegro.com.ar/diario/funciones/binario/imagen.aspx?idart=380098&idcat=9862&idcon=1087449&resolucion=1&tipo=2

搜索結果是正確的,帶來的形象。

有人可以幫助我解決問題,因爲谷歌返回我上面提到的在文本開頭的URL。

+0

可能重複:403誤差(http://stackoverflow.com/questions/21887272/batch-searching-on-google-403-error) –

回答

0

你有沒有read the documentationRFC 2616超文本傳輸​​協議 - HTTP/1.1說,這已經在§10.4.4;說關於禁止HTTP狀態403:

10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.

幾乎可以肯定谷歌已經檢測到您自己的搜索結果中的刮否認您的請求。

你需要從他們那裏獲得的API密鑰(for which see this answer

參見

[批量在谷歌搜索