예제 #1
0
    def parse_args_and_get_device_wrapper(self):
        ok, args = parse_arguments(self.get_session_args())
        if not ok:
            return None, None

        device_wrapper = DeviceWrapper(args.device, args.old)
        device = device_wrapper.get()
        if device is None:
            return None, None

        print("Instagram version: " + get_instagram_version())

        return args, device_wrapper
예제 #2
0
 def parse_args(self):
     ok, args = parse_arguments(self.get_session_args())
     if not ok:
         return None
     return args
예제 #3
0
 def parse_args(self):
     ok, args = parse_arguments(self.get_session_args(),
                                self.starter_conf_file_path)
     if not ok:
         return None
     return args