Wie zu vermeiden, "HTTP/1.1 999 Request denied" Antwort von LinkedIn?

Ich mache Anforderung zum LinkedIn-Seite und empfangen "HTTP/1.1 999 Request denied" als Antwort.
Ich AWS/EG-2 und bekommen diese Antwort.
Auf localhost funktioniert alles einwandfrei.

Diesem Beispiel von meinem code ein, um den html-code der Seite.

<?php
error_reporting(E_ALL);
$url= 'https://www.linkedin.com/pulse/5-essential-strategies-digital-michelle';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
$info = curl_getinfo($ch);
curl_close($ch);
var_dump($response);
var_dump($info); 

Brauche ich nicht den ganzen Inhalt der Seite, nur meta-tags (title, og-tags).

InformationsquelleAutor zoonman | 2014-12-19

Schreibe einen Kommentar