Diffbot

免费
通过 diffbot | 已更新 17日前 | Data
人气

8.8 / 10

延迟

555ms

服务等级

100%

Health Check

N/A

返回所有讨论

Could not download page (200 OK)

Rapid account: Jipomx
jipomx
10年前

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年前

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论