X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=appnetpost%2Fappnetpost.php;h=ca6d5d27ed02cd6347decfad5e0d7a0207c1f0e1;hb=8133e1ced288300467c17801d787714686daa40b;hp=f434f0986969e1a341d01d23144daaed76024d76;hpb=cdf704e9721ef612e992919e2afa40cbd2c0ec26;p=friendica-addons.git diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index f434f098..ca6d5d27 100644 --- a/appnetpost/appnetpost.php +++ b/appnetpost/appnetpost.php @@ -202,7 +202,7 @@ function appnetpost_original_url($url, $depth=1) { curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 3); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch,CURLOPT_USERAGENT,'Opera/9.64(Windows NT 5.1; U; de) Presto/2.1.1'); + curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0'); $header = curl_exec($ch); $curl_info = @curl_getinfo($ch);