MCPcopy
hub / github.com/pyload/pyload / flashgot

Method flashgot

module/remote/ClickAndLoadBackend.py:149–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147
148
149 def flashgot(self):
150 autostart = int(self.get_post('autostart', 0))
151 package = self.get_post('package', "FlashGot")
152 urls = filter(lambda x: x != "", self.get_post('urls').split("\n"))
153
154 self.add_package(package, urls, autostart)
155
156 def crossdomain(self):
157 rep = "<?xml version=\"1.0\"?>\n"

Callers

nothing calls this directly

Calls 4

get_postMethod · 0.95
add_packageMethod · 0.95
filterFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected