Author: poeml Date: Thu Jul 16 20:28:42 2009 New Revision: 55 URL: http://svn.mirrorbrain.org/viewvc/mod_asn?view=revision&revision=55 Log: asn_get_routeviews script: - download data from the mirror provided by the MirrorBrain project, so routeviews.org doesn't get additional traffic by additional users downloading from them Modified: trunk/asn_get_routeviews.py Modified: trunk/asn_get_routeviews.py ============================================================================== --- trunk/asn_get_routeviews.py Thu Jul 16 20:11:28 2009 (r54) +++ trunk/asn_get_routeviews.py Thu Jul 16 20:28:42 2009 (r55) @@ -9,8 +9,11 @@ # example url: 'http://archive.routeviews.org/oix-route-views/2008.11/oix-full-snapshot-latest.dat.bz2' filename = 'oix-full-snapshot-latest.dat.bz2' -url = 'http://archive.routeviews.org/oix-route-views/%s/%s' \ - % (time.strftime("%Y.%m", time.gmtime()), filename) +#url = 'http://archive.routeviews.org/oix-route-views/%s/%s' \ +# % (time.strftime("%Y.%m", time.gmtime()), filename) + +# mirrored daily from archive.routeviews.org, to save routeviews.org the traffic +url = 'http://mirrorbrain.org/routeviews/%s' % filename if not os.path.exists(filename): print >>sys.stderr, 'downloading', url _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Thu Jul 16 2009 - 18:28:44 GMT
This archive was generated by hypermail 2.2.0 : Thu Jul 16 2009 - 18:45:09 GMT