Diffbot

GRATIS
Door diffbot | Bijgewerkt 17 days ago | Data
Populariteit

8.8 / 10

Latency

555ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

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?

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen