19 lines
472 B
Plaintext
19 lines
472 B
Plaintext
![]() |
Title: User's Guide:i2p.eep
|
||
|
|
||
|
Module <code>i2p.eep</code> allows Python programs to access the [[Eeproxy]].
|
||
|
|
||
|
With this module, a program can easily download eepsites.
|
||
|
|
||
|
== Functions ==
|
||
|
|
||
|
'''urlopen'''(url, eepaddr='127.0.0.1:4444')
|
||
|
<ul>
|
||
|
Like urllib2.urlopen(url), but only works for eep-sites.
|
||
|
Example: f = urlopen('http://duck.i2p/index.html')
|
||
|
</ul>
|
||
|
'''urlget'''(url, eepaddr='127.0.0.1:4444')
|
||
|
<ul>
|
||
|
Get contents of an eepsite.
|
||
|
Example: urlget('http://duck.i2p/').
|
||
|
</ul>
|