mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-04-25 14:02:13 +00:00
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>
|