Diffbot

무료
분류별 diffbot | 업데이트됨 17 days ago | Data
인기

8.8 / 10

지연 시간

555ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Could not download page (200 OK)

Rapid account: Jipomx
jipomx
10 years ago

Hi,

I have tried to use Diffbot using Unirest but i get this error:

<callback>({“error”:“Could not download page (200 OK): http://www.eluniversalmas.com.mx:80/columnas/2013/05/101576.php",“errorCode”:500,“date”:"Jueves 16 de mayo de 2013”})

This is the code:

#!/usr/bin/env python

-- coding: utf-8 --

import unirest

response = unirest.post(
https://diffbot-diffbot.p.mashape.com/article?token=(mydiffbottoken)&url=http%3A%2F%2Fwww.eluniversalmas.com.mx%2Fcolumnas%2F2013%2F05%2F101576.php&callback=<callback>&html=<html>&dontStripAds=<dontStripAds>&timeout=15000&tags=<tags>&comments=<comments>&summary=<summary>”,
{
“X-Mashape-Authorization”: “(mymashapetoken)”
},
{
“url”: “http://www.milenio.com/cdb/doc/noticias2011/c20fce39b565ac4741af5a20e0a7b986
},
callback=None
);

print response._raw_body

Rapid account: Ismaelc
ismaelc Commented 10 years ago

Hi jipomx, are you able to try this out in the Mashape test console? And see if it works there?

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입