def save_to_history(operation, inputs, result): """Save calculation to history""" entry = { "timestamp": datetime.now().strftime("%Y-%m-%d %H:%M:%S"), "operation ...
Using scrape_url to scrape PDFs with parsePDF=False does not always return the base64 encoding of the PDF you are scraping. According to the documentation, "When false, the PDF file is returned in ...