Fix for intermediate fetcher/cache for plugin.

This commit is contained in:
Jim Miller 2021-01-29 12:07:47 -06:00
parent dd261dec96
commit 67d4eb46ee

View file

@ -538,6 +538,7 @@ class Configuration(ConfigParser):
ConfigParser.__init__(self)
self.fetcher = None # the network layer for getting pages
self.cache = None # the caching layer for getting pages
self.opener = None # used for _filelist
self.lightweight = lightweight
@ -578,6 +579,9 @@ class Configuration(ConfigParser):
self.url_config_set = False
## XXX make sure fetcher & cache exist--revisit
self.get_fetcher()
def section_url_names(self,domain,section_url_f):
## domain is passed as a method to limit the damage if/when an
## adapter screws up _section_url