Debug URL Print Statement
This commit is contained in:
@@ -30,6 +30,7 @@ async def search(txt):
|
|||||||
}
|
}
|
||||||
|
|
||||||
async def getPDF(url):
|
async def getPDF(url):
|
||||||
|
print(f"Fetching PDF: {url}")
|
||||||
resp = req.get(url, stream=True)
|
resp = req.get(url, stream=True)
|
||||||
pdf = io.BytesIO(resp.content)
|
pdf = io.BytesIO(resp.content)
|
||||||
pages = pdftotext.PDF(pdf)
|
pages = pdftotext.PDF(pdf)
|
||||||
|
|||||||
Reference in New Issue
Block a user