示例#1
0
 def __init__(self, source, location, api_key):
     DefaultDownloader.__init__(self, source=source, config=location)
     self.api_key = api_key
     self.legacy_downloader = WallhavenLegacyDownloader(source, location)
     self.parse_location()
示例#2
0
 def __init__(self, parent, location):
     ImageSource.__init__(self)
     DefaultDownloader.__init__(self, source=self, config=location)
     self.set_variety(parent)
     self.parse_location()
 def __init__(self, source, config):
     DefaultDownloader.__init__(self, source, config)
     self.set_variety(source.get_variety())
示例#4
0
 def __init__(self, parent, url):
     ImageSource.__init__(self)
     DefaultDownloader.__init__(self, source=self, config=url)
     self.set_variety(parent)
示例#5
0
 def __init__(self):
     ImageSource.__init__(self)
     DefaultDownloader.__init__(self, source=self)
     self.queue = []
 def __init__(self, source, location):
     DefaultDownloader.__init__(self, source=source, config=location)
     self.parse_location()
 def __init__(self, source, url):
     DefaultDownloader.__init__(self, source=source, config=url)
示例#8
0
 def __init__(self):
     ImageSource.__init__(self)
     DefaultDownloader.__init__(self, source=self)
     IPlugin.activate(self)
     self.queue = []