aboutsummaryrefslogtreecommitdiff
path: root/src/text/pdf.rs
blob: 4413b7884f2a7def8a45c8f1b2499379f7ece03b (plain)
1
2
3
4
5
use crate::extractors::pdf;

pub fn get_text(path : &str) -> String {
    pdf::pdf2text(path).ok().unwrap_or_default()
}