项目作者: vardecab

项目描述 :
Extract email addresses from PDFs stored in multiple folders.
高级语言: Python
项目地址: git://github.com/vardecab/emails-from-pdfs.git
创建时间: 2019-12-01T13:32:58Z
项目社区:https://github.com/vardecab/emails-from-pdfs

开源协议:GNU General Public License v3.0

下载


emails-from-pdfs

Not Maintained







Extract email addresses from PDFs stored in multiple folders.

Script runs through all folders, subfolders and files in given location and extracts email addresses from 1st pages.

How to use

1) Prepare your PDFs - put them in folders.
2) Put main folder location in rootdir variable.
3) By default script takes first page of a PDF (pageObj = pdfReader.getPage(0)) and there it looks for email address.
4) Modify regex if needed in re.search("", full_text). By modyfing regex you can easily adapt this script to look for phone numbers, addresses and other info.

Use case example

You can download candidates’ CVs from your HR platform and this script will extract all email addresses.

Roadmap

  • Try different pdf-reading libraries to improve success rate.

Release History

  • 0.1: Launch.

Versioning

Using SemVer.

License

GNU General Public License v3.0, see LICENSE.md.

Acknowledgements