MCPcopy Index your code
hub / github.com/YashIngole/GooglePDF-FETCHX

github.com/YashIngole/GooglePDF-FETCHX @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
0 symbols 0 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GooglePDF-FETCHX

A tool to fetch protected PDFs from Google Drive.

Description

PDFFetchX is a JavaScript-based tool designed to help users retrieve protected, view-only, and print-disabled PDFs from Google Drive. This tool handles downloading PDFs stored as blob URLs within Google Drive documents, making it easy to access and use secured PDFs. It also ensures that users do not encounter the "This document requires 'TrustedScriptURL' assignment" error.

Features

  • Simple Retrieval: Easily fetch protected, view-only, and print-disabled PDFs from Google Drive.
  • Efficient: Works on all dimensions of PDFs, autodetecting the dimensions and downloading them accordingly.
  • Error-Free: Avoids the "This document requires 'TrustedScriptURL' assignment" error.

How to Use

  1. Open the PDF:
  2. First, open the PDF in your web browser.
  3. Zoom in as much as possible to ensure the best quality for the downloaded PDF.
  4. Scroll through the entire document to ensure all pages are loaded. Go to the last page to make sure everything is fully loaded.

  5. Open the Console:

  6. Press F12 (for Chrome, Firefox, and Edge) to open the console of the web browser.

  7. Enable Pasting in the Console:

  8. Type allow pasting in the console to enable pasting of code.

  9. Copy and Paste the Script:

  10. Go to the script.js file in this repository and copy the script.
  11. Paste the provided JavaScript code into the console.

  12. Download the PDF:

  13. Wait for the script to download the PDF.

Disclaimer

This tool is intended for educational purposes only. Please ensure you have the right to retrieve and use the protected PDFs you are accessing.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributions

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

Acknowledgments

  • This script uses jsPDF for PDF handling.

Core symbols most depended-on inside this repo

Shape

For agents

$ claude mcp add GooglePDF-FETCHX \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page