2016-03-17 7 views
1

J'essaie d'utiliser l'API pour exporter l'alchimie microformats, j'ai toujours la même erreurerreur: 999 avec l'API Alchemy pour extraire les microformats

cannot-retrieve:downstream-http-error:999

Voici l'appel que j'utilise: http://gateway-a.watsonplatform.net/calls/url/URLGetMicroformatData?apikey=MYAPIKEY&url=http://fr.linkedin.com/in/laurentpauc

Une idée pourquoi?

+0

n'avez-vous pas à encoder le paramètre url? (dans ce cas, le lien linkedin) - voir http://www.url-encode-decode.com/ – Leo

Répondre

0

bien, j'ai essayé ici deux fois.

Dans la première tentative, il a échoué comme vous l'avez dit.

Dans la deuxième tentative, cela a fonctionné.

<?xml version="1.0" encoding="UTF-8"?> 
<results> 
    <status>OK</status> 
    <usage>By accessing AlchemyAPI or using information generated by AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html</usage> 
    <url>https://www.linkedin.com/in/laurentpauc</url> 
    <microformats> 
     <microformat> 
      <field>NameGivenName</field> 
      <data>Laurent</data> 
     </microformat> 
     <microformat> 
      <field>NameFamilyName</field> 
      <data>Pauc</data> 
     </microformat> 
     <microformat> 
      <field>AddrLocality</field> 
      <data>Saint-Denis, &#xCE;le-de-France, France</data> 
     </microformat> 
     <microformat> 
      <field>FormattedName</field> 
      <data>Laurent Pauc</data> 
     </microformat> 
     <microformat> 
      <field>OrgName</field> 
      <data>ESPACE BUROCOM</data> 
     </microformat> 
     <microformat> 
      <field>Title</field> 
      <data>Responsable Marketing chez Espace Burocom &#x2022; Concessionnaire Xerox</data> 
     </microformat> 
    </microformats> 
</results> 

Donc, je pense que cela peut être un problème temporaire.