www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Apache mirror information
Date Mon, 24 Nov 2014 00:43:08 GMT
Have you tried the asjson=true URL parameter?  For some URL that uses
http://www.a.o/dyn/mirrors/mirrors.cgi appending that parameter will
return JSON instead of HTML.

-Alex

On 11/23/14, 7:00 AM, "Alan D. Cabrera" <list@toolazydogs.com> wrote:

>That seems to be a general description of what I already know.
>
>Let me restate my question.  :)
>
>I need to write a python library that can find all the mirrors that have
>distributions for a specific project.  How can I do that without scraping
>HTML?
>
>
>Regards,
>Alan
>
>
>On Nov 23, 2014, at 6:49 AM, Tony Stevenson <tony@pc-tony.com> wrote:
>
>> Alan,
>> 
>> The system is quite simple. All mirrors who are in sync carry all
>>projects
>> except AOO. Only a subset carry this project. SF carry AOO and thus the
>> majority of its downloads.
>> 
>> On Sunday, 23 November 2014, Alan D. Cabrera <list@toolazydogs.com>
>>wrote:
>> 
>>> Is there a document on how the Apache mirror system works?  More
>>> specifically, what I’d like to do is given a particular project, find
>>>the
>>> mirrors that have distributions for that project.
>>> 
>>> I don’t wish the scrape HTML pages.
>>> 
>>> Thanks!
>>> 
>>> 
>>> Regards,
>>> Alan
>>> 
>>> 
>> 
>> -- 
>> Cheers,
>> Tony
>> 
>> ----------------------------------
>> Tony Stevenson
>> 
>> tony@pc-tony.com
>> pctony@apache.org
>> 
>> http://www.pc-tony.com
>> 
>> GPG - 1024D/51047D66
>> ----------------------------------
>

Mime
View raw message