Skip to content

Problem pdf laden #7

@OliverHamann1027

Description

@OliverHamann1027

Das Wahlprogramm der AfD zur Bundestagswahl 2017 kann nicht geladen werden.

afd_btw2017 <- "https://cdn.afd.tools/wp-content/uploads/sites/111/2017/08/AfD_Wahlprogramm_2017_A5-hoch.pdf"
afd_btw2017_local <- tempfile ()
download.file(url = afd_btw2017, destfile = afd_btw2017_local)

install.packages("pdftools")
library(pdftools)
pdftools::pdf_info(afd_btw2017_local)
txt <- pdftools::pdf_text(afd_btw2017_local) # Fehlermeldungen

is(txt)
length(txt)
txt[30] # kein Text wird erkannt

pdftools::pdf_info(afd_btw2017_local)

Fehler: PDF error (3490): Illegal character '{'
PDF error: xref num 367 not found but needed, try to reconstruct<0a>
$version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions