Como Baixar Documentos PDF do Google Drive Sem Permissão ou Bloqueados 2024
Summary
TLDRThis video tutorial guides viewers on how to download PDF files from Google Drive without download permissions. The presenter credits ztox for the scripts used and demonstrates a step-by-step process involving downloading a zip file, extracting it, and using JavaScript code in the browser's developer console to capture and compile PDF pages as images. The script then generates a PDF from these images, offering an alternative method if quality is compromised, such as optimizing images before converting them back to a PDF.
Takeaways
- 🔐 The video teaches how to download PDF files from Google Drive without download permission.
- 👨💻 The method involves using a script developed by ztox, which is credited for its effectiveness.
- 📄 The script is used for files that only offer a view option, with no download or print permissions.
- 💾 The script can be downloaded from GitHub, where detailed instructions are provided in English.
- 🖥️ The process requires opening the script in a text editor like Notepad and copying the code.
- 🛠️ The script is executed in the browser's developer console (accessed via F12) while viewing the PDF on Google Drive.
- 🖼️ The script essentially 'prints' each page of the PDF, capturing it as an image.
- 📁 The captured images are then organized into a folder to be processed into a PDF.
- 🔧 A CMD file in the script folder is used to compile the images into a downloadable PDF file.
- ✅ The final PDF file is checked for quality, and if necessary, an alternative method to improve image sharpness is suggested.
Q & A
What is the main topic of the video?
-The main topic of the video is teaching viewers how to download PDF files from Google Drive without having explicit download permission.
Who are the scripts in the video credited to?
-The scripts used in the video are credited to ztox, who developed them for this purpose.
How can viewers access the scripts mentioned in the video?
-Viewers can access the scripts by clicking on the gitk link HUB and Code download Zip provided in the video description.
What is the first step in using the script to download a PDF from Google Drive?
-The first step is to extract the downloaded zip file containing the scripts and open the 'script.js' file with a text editor like Notepad.
How does the script interact with the PDF file on Google Drive?
-The script interacts with the PDF file by simulating the process of printing each page, which is then used to generate an image of the page.
What is the purpose of the developer tools console in this process?
-The developer tools console is used to paste and execute the script's code, which navigates through the PDF and captures images of each page.
What is the role of the 'generate PDF' folder in the script package?
-The 'generate PDF' folder contains the necessary files and instructions to compile the captured images into a single PDF file.
How does the video suggest improving the quality of the downloaded PDF if it's not satisfactory?
-If the quality of the downloaded PDF is not satisfactory, the video suggests saving the images separately, optimizing them, and then using a website to convert the improved images back into a PDF.
What alternative method is mentioned in the video for converting images to PDF if the initial method doesn't work?
-The alternative method mentioned is to use any website to convert the optimized images into a PDF and organize the pages manually.
What is the final output of the process described in the video?
-The final output is a PDF file that has been generated from the images of the original PDF pages, which can be found in the 'output' folder of the script package.
What precaution does the video give regarding the quality of the downloaded PDF?
-The video advises viewers to check for any loss of quality in the downloaded PDF and suggests using an alternative method if the quality is affected.
Outlines
📄 Downloading PDFs from Google Drive Without Permission
The video tutorial begins with the host explaining how to download PDF files from Google Drive even when there is no download option available. They mention finding a script on GitHub developed by ztox that enables this functionality. The host guides viewers to download a ZIP file containing the script, extract it, and follow a manual for usage. They detail a step-by-step process involving copying JavaScript code, pasting it into the browser's console on the PDF page, and using developer tools to execute the script. This script essentially prints the pages of the PDF, compiling them into an image format. The host then instructs viewers to paste these images into a specific folder and use a CMD file to generate a PDF. They also suggest alternative methods if the quality of the downloaded PDF is compromised, such as using an image optimization tool before converting the images back to a PDF.
Mindmap
Keywords
💡Google Drive
💡PDF files
💡Download permission
💡View option
💡Script
💡Developer tools
💡Console
💡Image files
💡Quality loss
💡Alternative methods
💡CMD file
Highlights
Teaching how to download PDF files from Google Drive without download permission.
The video demonstrates a method for downloading files with only view access.
A script developed by ztox is introduced as a solution.
The video credits ztox for creating the script and provides a link to their GitHub repository.
The script allows users to download PDFs by simulating the print process.
A manual in English is included for ease of use.
The process involves copying and pasting JavaScript code into the browser's developer console.
The script scrolls through the PDF to simulate printing each page.
The printed pages are saved as images which are then compiled into a PDF.
The video provides instructions on how to use the script effectively.
The process generates a PDF file from the compiled images.
The video suggests checking the quality of the generated PDF.
Alternative methods are suggested if the quality of the PDF is compromised.
The video mentions the possibility of optimizing image sharpness before converting to PDF.
The script is presented as a way to bypass Google Drive's download restrictions.
The video concludes by summarizing the steps and the effectiveness of the method.
Transcripts
Hey guys, in this video, I
'm going to teach you how to download PDF files,
without having permission to download
directly from Google Drive, right, just having
the option to view the file, like
this example here, I got this file
on the internet, okay? So I created the same
condition, right, there's no download option,
I can't print, here it's 17
pages, okay, let's go, I also
found a script on the Hub, two scripts
actually made by ztox and
it serves this purpose, I tried
other means there but I couldn't get it
some didn't work so this one
ended up working I thought it was interesting
I'll bring it here okay So the credits for
the script, thank you very much for developing
this type of thing, go to ztox and I
'll leave the link to the description Alright
then you'll come here, click on the
gitk link HUB and Code download Zip, well,
download the zip, you come here, extract it, it's
here, there's a little manual, okay, it's in
English, but this way it's very simple and I think
everyone will be able to
do it well, so let's go you will open the
folder of the file you downloaded there will
be two script.js You can open it with
notepad so you come here open it
with notepad in this case we
will use method one which is the first one
so this here is the first one you will
copy all this code here you will go to the
PDF page you want and you will
open
the developer tools right in this
case it is f12 ok and here you will go to
console coming here you will paste the
code great it It's going to do this
scroll down, right, go down the entire
PDF file that he's doing here,
basically he's taking prints, right? Of
these pages, right?
a compilation of these
pages that he printed that he obtained the
image there in this case So you will come
to this file here you will cut or
copy it too and then you will go back inside
the script folder there it is inside there is
another folder written generate PDF you
open it and here there will be several folders in
case you go P this file inside the
input folder So you paste it here alright
done that you go back to the
previous folder it comes to the Windows folder there will be a
CMD file you double click
here alright done that it will generate the
PDF file then when finished it will
look like this you can close a
page back also a PR folder the
previous folder will have a folder written
output which would be output you open it it comes
in document and here you will have the
PDF file ready ok I no no
I managed to notice if there was a loss of
quality, if you identify
any loss of quality, anything
I will suggest another alternative for
you, right, in this case, he already generated the
PDF file with those
image files that he obtained, if the quality
was affected. what you can do,
it also saves the prints, right, let's say it
saves the images separately, you
can throw this here in one of your life so
that it optimizes the sharpness, this kind of thing
because they are images, okay, and then you use,
I don't know, any website there to convert the
image for PDF you can improve
the images a little the quality here using
maa and then add everything here as if it
were a PDF you will just have to
organize Here the pages, right in this case,
then you can do it Yes or if it is to
your liking If it's good
enough, you can already use the file, the
PDF file that it generated, even if it's
good, then these are the alternatives.
This was the way I found to
download protected files and from Google
Drive without having download permission there.
Thanks, said
Browse More Related Video
Interactive Grid Native PDF Printing Oracle APEX - Part 23
Invoice Extraction: Extract PDF Invoice to Excel with UiPath
How To Compile Source Code in Visual Studio!
Automate PDF Invoices Data Transfer to Google Sheets with ChatGPT & Zapier | Tutorial
Edit Any PDF With Accuracy With This Free Tool 🔥✅🤯 #pc #trickblower #shorts
Figma To Real Website | Responsive Homepage | HTML, CSS & JavaScript | Part 2
5.0 / 5 (0 votes)