Diffbot

FREE
By diffbot | Updated 4 giorni fa | Data
Popularity

9 / 10

Latency

588ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Could not download page (200 OK)

Rapid account: Jipomx
jipomx
10 anni fa

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 anni fa

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

Join in the discussion - add comment below:

Login / Signup to post new comments