mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-24 14:13:43 +00:00
PdfParser requires bytes
This commit is contained in:
parent
a31289c97d
commit
949f84d329
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class PdfParser(_ParserPlugin):
|
|||
"""Parse PDF data."""
|
||||
# XXX user authentication from url_data
|
||||
password = ''
|
||||
data = url_data.get_content()
|
||||
data = url_data.get_raw_content()
|
||||
# PDFParser needs a seekable file object
|
||||
fp = StringIO(data)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue