jayvdb added a comment.

Note that currently the API at 
`http://archive.org/wayback/available?url=example.com` is 503, however their 
Memento API is working OK.

  $ wget -O 'archive.links' 
'http://web.archive.org/web/timemap/link/http://www.w3.org/TR/webarch/'
  --2015-08-07 01:20:05--  
http://web.archive.org/web/timemap/link/http://www.w3.org/TR/webarch/
  Resolving web.archive.org (web.archive.org)... 207.241.224.26
  Connecting to web.archive.org (web.archive.org)|207.241.224.26|:80... 
connected.
  HTTP request sent, awaiting response... 200 OK
  Length: unspecified [application/link-format]
  Saving to: ‘archive.links’
  
  archive.links                                      [  <=>                     
                                                                          ]  
89.15K   176KB/s   in 0.5s   
  
  2015-08-07 01:20:06 (176 KB/s) - ‘archive.links’ saved [91289]
  
  $ wget -S 'http://web.archive.org/web/http://www.w3.org/TR/webarch/'
  --2015-08-07 01:21:24--  
http://web.archive.org/web/http://www.w3.org/TR/webarch/
  Resolving web.archive.org (web.archive.org)... 207.241.224.26
  Connecting to web.archive.org (web.archive.org)|207.241.224.26|:80... 
connected.
  HTTP request sent, awaiting response... 
    HTTP/1.1 302 Moved Temporarily
    Server: Tengine/2.1.0
    Date: Thu, 06 Aug 2015 15:21:25 GMT
    Content-Type: text/html
    Transfer-Encoding: chunked
    Connection: keep-alive
    set-cookie: wayback_server=3; Domain=archive.org; Path=/; Expires=Sat, 
05-Sep-15 15:21:25 GMT;
    Location: /web/20150711085113/http://www.w3.org/TR/webarch/
    Vary: accept-datetime
    Link: <http://www.w3.org/TR/webarch/>; rel="original", 
<http://web.archive.org/web/timemap/link/http://www.w3.org/TR/webarch/>; 
rel="timemap"; type="application/link-format", 
<http://web.archive.org/web/20150711085113/http://www.w3.org/TR/webarch/>; 
rel="last memento"; datetime="Sat, 11 Jul 2015 08:51:13 GMT", 
<http://web.archive.org/web/20020911073933/http://www.w3.org/TR/webarch/>; 
rel="first memento"; datetime="Wed, 11 Sep 2002 07:39:33 GMT", 
<http://web.archive.org/web/20150630093225/http://www.w3.org/TR/webarch/>; 
rel="prev memento"; datetime="Tue, 30 Jun 2015 09:32:25 GMT"
    X-Link-JSON: 
{"closest":{"wb_url":"http://web.archive.org/web/20150711085113/http://www.w3.org/TR/webarch/","timestamp":"20150711085113","status":"200"}}
    X-Archive-Wayback-Perf: 
{"IndexLoad":49,"IndexQueryTotal":49,"RobotsFetchTotal":2,"RobotsRedis":2,"RobotsTotal":2,"Total":52}
    X-Archive-Playback: 0
    X-Page-Cache: HIT
  Location: /web/20150711085113/http://www.w3.org/TR/webarch/ [following]
  --2015-08-07 01:21:25--  
http://web.archive.org/web/20150711085113/http://www.w3.org/TR/webarch/
  Reusing existing connection to web.archive.org:80.
  HTTP request sent, awaiting response... 
    HTTP/1.1 200 OK
    Server: Tengine/2.1.0
    Date: Thu, 06 Aug 2015 15:21:25 GMT
    Content-Type: text/html;charset=utf-8
    Content-Length: 207230
    Connection: keep-alive
    Memento-Datetime: Sat, 11 Jul 2015 08:51:13 GMT
    Link: <http://www.w3.org/TR/webarch/>; rel="original", 
<http://web.archive.org/web/timemap/link/http://www.w3.org/TR/webarch/>; 
rel="timemap"; type="application/link-format", 
<http://web.archive.org/web/http://www.w3.org/TR/webarch/>; rel="timegate", 
<http://web.archive.org/web/20020911073933/http://www.w3.org/TR/webarch/>; 
rel="first memento"; datetime="Wed, 11 Sep 2002 07:39:33 GMT", 
<http://web.archive.org/web/20150703051811/http://www.w3.org/TR/webarch/>; 
rel="prev memento"; datetime="Fri, 03 Jul 2015 05:18:11 GMT", 
<http://web.archive.org/web/20150711085113/http://www.w3.org/TR/webarch/>; 
rel="memento"; datetime="Sat, 11 Jul 2015 08:51:13 GMT", 
<http://web.archive.org/web/20150713010337/http://www.w3.org/TR/webarch/>; 
rel="next memento"; datetime="Mon, 13 Jul 2015 01:03:37 GMT", 
<http://web.archive.org/web/20150802013147/http://www.w3.org/TR/webarch/>; 
rel="last memento"; datetime="Sun, 02 Aug 2015 01:31:47 GMT"
    X-Archive-Orig-etag: "2fabd-3eb3922c2ffc0"
    X-Archive-Guessed-Charset: utf-8
    X-Archive-Orig-cache-control: max-age=31536000
    X-Archive-Orig-content-type: text/html; charset=utf-8
    X-Archive-Orig-server: Apache/2
    X-Archive-Orig-access-control-allow-origin: *
    X-Archive-Orig-last-modified: Tue, 14 Dec 2004 20:19:19 GMT
    X-Archive-Orig-expires: Sun, 10 Jul 2016 08:51:13 GMT
    X-Archive-Orig-accept-ranges: bytes
    X-Archive-Orig-connection: close
    X-Archive-Orig-date: Sat, 11 Jul 2015 08:51:13 GMT
    X-Archive-Orig-content-length: 195261
    X-Archive-Orig-p3p: policyref="http://www.w3.org/2014/08/p3p.xml";
    X-Archive-Wayback-Perf: 
{"IndexLoad":52,"IndexQueryTotal":52,"RobotsFetchTotal":2,"RobotsRedis":2,"RobotsTotal":3,"Total":97,"WArcResource":35}
    X-Archive-Playback: 1
    X-Page-Cache: HIT
  Length: 207230 (202K) [text/html]
  Saving to: ‘index.html’
  
  index.html                                   
100%[===================================================================================================>]
 202.37K   226KB/s   in 0.9s   
  
  2015-08-07 01:21:26 (226 KB/s) - ‘index.html’ saved [207230/207230]


TASK DETAIL
  https://phabricator.wikimedia.org/T85001

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: jayvdb, Aklapper, pywikibot-bugs-list, Malyacko, P.Copp



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to