(self, urls_and_kwargs, threads=10, **kwargs)
| 102 | yield args[0], response |
| 103 | |
| 104 | async def request_custom_batch(self, urls_and_kwargs, threads=10, **kwargs): |
| 105 | async for (args, kwargs, tracker), response in self.task_pool( |
| 106 | self.request, args_kwargs=urls_and_kwargs, threads=threads, global_kwargs=kwargs |
| 107 | ): |
| 108 | yield args[0], kwargs, tracker, response |
| 109 | |
| 110 | async def download(self, url, **kwargs): |
| 111 | warn = kwargs.pop("warn", True) |