Capture Http Requests Python Html To Pdf