def download(self): found, r = download_pdf(self.s, self.pdf_file, self.pdf_url, self.headers) if not found: self.driver.save_screenshot(self.pdf_file + ".png") return found, r
def download(self): found, r = download_pdf( self.s, self.pdf_file, self.pdf_url, self.headers, filetype="application/octet-stream") return found, r
def download(self): found, r = download_pdf(self.s, self.pdf_file, self.pdf_url, self.headers) return found, r