def process_grab_proxy(self, task: Task, grab: Grab) -> None:
        """Assign new proxy from proxylist to the task."""
        if task.use_proxylist and self.proxylist_enabled:
            if self.proxy_auto_change:
                self.change_active_proxy(task, grab)
            if self.proxy:
                raise RuntimeError("Look like it is not called from tests")
                # grab.zzzz(
                #    proxy=self.proxy.get_address(),
                #    proxy_userpwd=self.proxy.get_userpwd(),
                #    proxy_type=self.proxy.proxy_type,
                # )
Assign new proxy from proxylist to the task.
grab/spider/base.py