| Trees | Index | Help |
|---|
| Package Peapod :: Module peapod |
|
Python podcast client
(C) 2005 Billy Allan. billy@monkeytwizzle.com Released under the GPL - see http://www.gnu.org for details.
This script uses the excellent RSS/Atom feed parser from http://feedparser.org and the "openanything" module from the equally excellent "Dive into Python" http://diveintopython.org/ .| Classes | |
|---|---|
downloadURL |
A class to download a single enclosure from a feed. |
importfeeds |
Class to import feeds from RSS and OPML sources. |
newTracks |
A class to manage actions based on recent changes to the peapod databases. |
peapodConf |
Class to manage the configuration for peapod. |
podcastListXML |
Manages the spawning of threads to fetch each feed in the list of known feeds. |
podcastThreaded |
Update a feed and parse it for new enclosures, using conditional download information, if available. |
| Exceptions | |
|---|---|
PeapodError |
|
| Function Summary | |
|---|---|
Takes a path and expands any variables and ~ and returns an absolute path | |
Parse download.log and extract information about previously downloaded files. | |
Parses old version of download.log to extract filenames of previously downloaded files. | |
Export feeds to OPML on stdout. | |
Parse feed.log and extract information about known feeds, and any associated conditional download information (e-tag, modified timestamps). | |
Display command line usage info to stdout. | |
Upgrade a comma-delimited download.log to new format, using '||' as a delimiter. | |
| Variable Summary | |
|---|---|
str |
__version__ = '0.5'
|
RootLogger |
logger = <logging.RootLogger instance at 0x402b3bac>
|
int |
threadcount = 0 |
str |
USER_AGENT = 'Peapod/0.5 +http://www.peapodpy.org'
|
| Function Details |
|---|
cleanpath(path)Takes a path and expands any variables and ~ and returns an absolute path |
downloadList()Parse download.log and extract information about previously downloaded files. Returns a dict, composed of two lists. |
downloadListFull()Parses old version of download.log to extract filenames of previously downloaded files. Returns a list. I believe this is no longer used and can be purged. |
exportfeeds(feedlist)Export feeds to OPML on stdout. |
feedLog()Parse feed.log and extract information about known feeds, and any associated conditional download information (e-tag, modified timestamps). Returns information as a dict, indexed by URL. |
peapod_usage()Display command line usage info to stdout. |
upgradeDownloadLog(logfile)Upgrade a comma-delimited download.log to new format, using '||' as a delimiter. |
| Variable Details |
|---|
__version__
|
logger
|
threadcount
|
USER_AGENT
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Aug 12 06:40:33 2007 | http://epydoc.sf.net |