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

pub fn get_text(path : &str) -> String {
    pdf::pdf2text(path).ok().unwrap_or_else(|| "".to_string())
}