def METHOD_NAME(self):
    autostart = int(self.get_post("autostart", 0))
    package = self.get_post("package", "FlashGot")
    urls = [x for x in self.get_post("urls").split("\n") if x != ""]
    self.add_package(package, urls, autostart)