(id)
| 23 | return results |
| 24 | |
| 25 | def _get_task(id): |
| 26 | task_path = os.path.join(path_task_results_tasks, str(id) + ".json") |
| 27 | if not _has(task_path): |
| 28 | return None |
| 29 | # raise JsonHTTPResponseWithMessage(f"No task with id:{id} found.") |
| 30 | return _get(task_path) |
| 31 | |
| 32 | |
| 33 | def create_cache_key(scraper_name, data): |