I did something like this a while ago: https://github.com/nspin/spiderman I used the wonderful tool mitmproxy for both recording and serving.
I did something like this a while ago: https://github.com/nspin/spiderman I used the wonderful tool mitmproxy for both recording and serving.