[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] google-calendar.el blocked?
From: |
Rasmus |
Subject: |
[O] google-calendar.el blocked? |
Date: |
Sun, 19 Aug 2012 16:59:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Hi,
For some time google-calendar.el hasn't been working for me. I looked
into it, and it seems the user-agent has been blocked cf. the output
below:
Has anyone else experienced this? Or how to fix it? (I.e. how to
change the user-agent of url-retrieve or something similar?)
Thanks,
Rasmus
#+NAME: Debugging
#+BEGIN_SRC emacs-lisp
(defun my-url-retrieve (url)
(with-current-buffer (url-retrieve-synchronously url)
(buffer-substring (point-min) (point-max))))
(my-url-retrieve "http://www.google.com/ig/api?weather=London")
#+END_SRC
#+RESULTS: Debugging
#+begin_example
HTTP/1.1 403 Forbidden
X-Frame-Options: SAMEORIGIN
Content-Type: text/html; charset=UTF-8
Date: Sun, 19 Aug 2012 15:49:35 GMT
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate
X-Content-Type-Options: nosniff
Server: igfe
Content-Length: 970
X-XSS-Protection: 1; mode=block
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1,
width=device-width">
<title>Error 403 (Forbidden)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px
arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7%
auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* >
body{background:url(//www.google.com/images/errors/robot.png) 100% 5px
no-repeat;padding-right:205px}p{margin:11px 0
22px;overflow:hidden}ins{color:#777;text-decoration:none}a
img{border:address@hidden screen and
(max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
</style>
<a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif
alt=Google></a>
<p><b>403.</b> <ins>That's an error.</ins>
<p>Your client does not have permission to get URL
<code>/ig/api?weather=London</code> from this server. <ins>That's all we
know.</ins>
#+end_example
--
This space left intentionally blank
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] google-calendar.el blocked?,
Rasmus <=