[tor-bugs] #10697 [Tor Weather]: Fetch hourly lists from Onionoo with relay status

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 30 08:22:18 UTC 2014


#10697: Fetch hourly lists from Onionoo with relay status
-----------------------------+-------------------------------------
     Reporter:  baumanno     |      Owner:  baumanno
         Type:  task         |     Status:  assigned
     Priority:  normal       |  Milestone:
    Component:  Tor Weather  |    Version:
   Resolution:               |   Keywords:  weather-rewrite, hourly
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-------------------------------------

Comment (by karsten):

 Minor tweak to your code: you can avoid composing the URL manually: `url =
 OO_URL + urllib.urlencode(OO_PARAMS)`.  As a result you also avoid the
 trailing `&`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10697#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list