[EDIT]: I like this guy, he solved my problem Basically, he showed me a script which can download a pdf file which is the best option there is. I mean, this script gave me high definition images.

MORE IMPORTANTLY, I still would like to know of any other community of pirates, because more is better in many circumstances, but as of now, my problem stands solved for the foreseeable future, thank you to you all! [\EDIT]

POST 1 POST 2 POST 3

Unfortunately, even though we can pirate some stuff off the internet, I doubt if there is an effective way to pirate drive view only documents.

Passing the pdfs of the screenshots through a OCR and Taking screenshots via a script are the best advices I have heard here as well as over reddit. I was wondering if any of you knew of any other pirating communities sailing on the high seas, if so, please help a man out by commenting their links, if you however know how to pirate drive view only documents (other than the methods over here, please feel free to comment them too.

edit: I am a student and it might take me time to reply back but I deeply appreciate your help.

Huuuhhh, you made a mistake when copying the link of the third post link 😅

@Blizzard@lemmy.zip
link
fedilink
English
371Y

Have you tried this?

@Maddison@sh.itjust.works
creator
link
fedilink
English
221Y

would it be weird if I said “I love you”?

This worked!!! omg thankk you!!!

@Blizzard@lemmy.zip
link
fedilink
English
291Y

@rambos@lemmy.world
link
fedilink
English
11Y

You are talking about google drive? Why do you have read only pdf? Is that team G drive? Sorry thats new to me. Did you try google takeout?

@Maddison@sh.itjust.works
creator
link
fedilink
English
21Y

hehe… Gdrive and google drive are same, google takeout is something I have never heard of

@rambos@lemmy.world
link
fedilink
English
51Y

Google takeout lets you download everything from drive. You get download links on e-mail in few hours after request. Not sure can that solve your problem, but solution you found is obviously better.

fkn
link
fedilink
English
191Y

I think the confusion/difficulty is the mistake that the PDF rendering is happening client side. I don’t know this for certain since I haven’t spent any time trying to break it, but based on the solutions I have found online leads me to believe that these view only PDFs are server side rendered and what is sent to your browser is only an image.

PDF is a weird file format… It is sometimes just a bunch of jpeg images of pages (scanners that don’t do ocr generate PDFs this way) And the PDF isn’t anything more than a collection of jpeg images… Or it can be a fully text based document using a proprietary rendering language that needs to be rendered to be viewed… Or it’s a series of printer commands that would tell a printer how to print it…

In any case PDF viewers are super complex (basically they need to know how to render all of those different kinds of instructions into a standard document for viewing) and often times they are implemented as image generators (because basically that’s what they are, it’s also why some PDF viewers don’t have text search or form filling, and it’s part of why PDF editors are so complex). The result of this is that it’s possible that the Google view of the PDF isn’t a PDF document… And only the server side rendering of it which means that when the view only option is enabled… There is no PDF to download. You aren’t looking at the PDF file. You are looking at the rendering result of the PDF viewer running on a Google server.

In this case you can’t download the PDFs… Your best option is to take screen capture of the pages, and run ocr on them.

Basically Google servers are printing the PDF to your screen. You dumb scan it, which generates a PDF that is a collection of jpeg images, then you ocr it, which generates a text version of the PDF.

Those js script snippets literally are a dumb scanner for your screen… That make a PDF from a collection of jpeg images.

Kinda nuts.

@Maddison@sh.itjust.works
creator
link
fedilink
English
31Y

thank you for explaining this, I mean, it was helpful in knowing why I can’t download the actual pdf.

Blaze (he/him)
link
fedilink
English
41Y

What type of documents is that? Maybe they can be found elsewhere?

@Maddison@sh.itjust.works
creator
link
fedilink
English
41Y

no, they are educational documents I paid for, but it’s hidden away from me (because I might share it to someone else)

but this worked https://sh.itjust.works/comment/1544116 Thank God!

@Diabolo96@lemmy.dbzer0.com
link
fedilink
English
8
edit-2
1Y

The best community for piracy was without a doubt freemediaheckyeah (fmhy) but got killed by a technicality. Here’s the Pandora box of piracy : https://fmhy.net/ But beware brother, once you open it their is no coming back. You will be one of us. A true pirate.

@Maddison@sh.itjust.works
creator
link
fedilink
English
21Y

thank you!!

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
!piracy@lemmy.dbzer0.com
Create a post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

  • 1 user online
  • 108 users / day
  • 272 users / week
  • 1K users / month
  • 3.5K users / 6 months
  • 1 subscriber
  • 3.4K Posts
  • 82.2K Comments
  • Modlog