Skip to content

Instantly share code, notes, and snippets.

@cjnghn
cjnghn / __main__.py
Created April 16, 2023 07:30
python scraping with cache
import os
import pickle
import requests
import hashlib
from pathlib import Path
from typing import Callable, Optional
class Cache: