Delivery-Date: Mon, 14 Dec 2015 17:46:08 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 8CDE71E08D9;
	Mon, 14 Dec 2015 17:46:06 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 9FA9920AAE;
	Mon, 14 Dec 2015 22:46:02 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id DE451205F1
 for <tor-talk@lists.torproject.org>; Mon, 14 Dec 2015 22:45:59 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id aoKu21yi7qg9 for <tor-talk@lists.torproject.org>;
 Mon, 14 Dec 2015 22:45:59 +0000 (UTC)
Received: from khazad-dum.seul.org (khazad-dum.csail.mit.edu [128.31.0.47])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "moria.seul.org", Issuer "moria.seul.org" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id C65872049B
 for <tor-talk@lists.torproject.org>; Mon, 14 Dec 2015 22:45:59 +0000 (UTC)
Received: by khazad-dum.seul.org (Postfix, from userid 501)
 id 03AA01E08D9; Mon, 14 Dec 2015 17:45:56 -0500 (EST)
Date: Mon, 14 Dec 2015 17:45:56 -0500
From: Roger Dingledine <arma@mit.edu>
To: tor-talk@lists.torproject.org
Message-ID: <20151214224556.GH41084@moria.seul.org>
References: <6915DDD2-B2F2-44C9-AAE3-926D829F8932@maclemon.at>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <6915DDD2-B2F2-44C9-AAE3-926D829F8932@maclemon.at>
User-Agent: Mutt/1.5.20 (2009-12-10)
Subject: Re: [tor-talk] Machine readable index of stable/unstable release
 versions
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

On Mon, Dec 14, 2015 at 05:55:39PM +0100, MacLemon wrote:
> I???d like to automate notifications about official new tor stable/unstable source versions like they???re linked on the downloads page. I???d like to regularly grab the versions and alert if the published version is newer than what I have.
> 
> Is there a URL where I can grab these version numbers in machine readable form since scraping the download page???s HTML is quite inelegant. (simple plaintext or JSON for example)

You might enjoy
https://www.torproject.org/include/versions.wmi
(the top two lines are what you want)

and/or

https://archive.torproject.org/tor-package-archive/
(requires a bit more scraping)

In theory, one day we're going to switch away from wml for the website,
so that wmi file will break then. But that theory could continue to take
a good long while to come true.

--Roger

-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

