GDoc-Email-Extractor is a Python tool designed to programmatically fetch information about public Google documents and extract key details, such as the document owner's email. It works across a wide range of Google's public document types.
- Broad Compatibility: Works with public links from Google Drive, Docs, Spreadsheets, Slides, Drawings, My Maps, Apps Script, and Jamboard.
- Email Extraction: Extracts the email address of the document's owner from the public metadata.
- Simple Interface: Easy to run with a clear command-line interface.
You need Python 3.x and pip installed on your system.
-
Clone the repository:
git clone https://github.com/kinghacker0/GDoc-Email-Extractor cd GDoc-Email-Extractor
To run the program, use the following command:
python GDoc-Extractor.py <gdoc_link>Replace <gdoc_link> with the public Google Document link you want to analyze.
python GDoc-Extractor.py https://docs.google.com/document/d/1BfS_1t1B7E_BfS_1t1B7E_BfS_1t1B7E/editNote: This is a placeholder example. Use a real public link for testing.
The program uses the Google Drive API to access the metadata of the provided public link. By default, Google's API allows access to certain public information about a file, including the owner's email, if the document is publicly accessible. This tool leverages that API to retrieve and display the relevant information.
This tool is designed to work with publicly accessible Google document links. It cannot bypass privacy settings or access information on private documents. Use it responsibly and in accordance with Google's terms of service.