linkcheck.plugins.parsepdf

Parse links in PDF files with pdfminer.

Functions

search_url(obj, url_data, pageno, seen_objs)

Recurse through a PDF object, searching for URLs.

Classes

PdfParser(config)

PDF parsing plugin.

class linkcheck.plugins.parsepdf.PdfParser(config)[source]

Bases: _ParserPlugin

PDF parsing plugin.

Check for pdfminer.

applies_to(url_data, pagetype=None)[source]

Check for PDF pagetype.

check(url_data)[source]

Parse PDF data.

linkcheck.plugins.parsepdf.search_url(obj, url_data, pageno, seen_objs)[source]

Recurse through a PDF object, searching for URLs.