예제 #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()
예제 #3
0
 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()
예제 #7
0
 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 = []