On Tuesday, May 17, 2016 at 11:06:37 PM UTC+2, Jon Stovell wrote:
>
> I found that Google's API became unreliable since I wrote that post. 
> Here's the script I use now:
>

This works

$ curl https://is.gd/create.php -d 'format=simple' -d 'url=google.com'

This one too

$ osascript -e "do shell script \"curl https://is.gd/create.php -d 
'format=simple' -d 'url=google.com'\""

This doesn't

set theURL to "google.com"
do shell script "curl https://is.gd/create.php -d 'format=simple' -d 'url=" 
& theURL & "'"

and gives this error

error "  % Total    % Received % Xferd  Average Speed   Time    Time     
Time  Current
                                 Dload  Upload   Total   Spent    Left 
 Speed


  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   
  0curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 
alert handshake failure" number 35

Only thing I found that could remotely be related, here 
<http://stackoverflow.com/questions/35094436/curl-php-sslv3-error-and-cant-get-tls-to-work>
.

I have

AppleScript Editor 2.5.1
PHP 5.3.29
OpenSSL 1.0.2f
curl 7.47.1 

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.

Reply via email to