11
submitted 1 year ago* (last edited 1 year ago) by inosuke@lemmy.fmhy.ml to c/freemediaheckyeah@lemmy.fmhy.ml

I bought an online course recently. They mention on their websites that a note will be provided. But in the names of note they provide a 2-page summary for download, and the original note PDFs are not downloadable. I tried to download PDF from their sites via IDM but file corrupted. Even I tried to force copy and pasting into other documents but not successful as it pastes some encoded language. Only way I found to click screenshots of each and every pages on pc and paste into the word. It is very time-consuming. Is there another way to download PDF from their sites? Edit: look like the best way to capture it through screenshot.

you are viewing a single comment's thread
view the rest of the comments
[-] lavafroth@programming.dev 2 points 1 year ago

Try reverse engineering the DRM. Most DRMs are stupid simple to break. Look at the JS code or the network tab under devtools. Maybe you can get the key.

If all fails, login through a headless browser session using python + selenium and use some quick and dirty scripting to screenshot each page.

[-] inosuke@lemmy.fmhy.ml 2 points 1 year ago

https://drive.google.com/drive/folders/1ussgvci_rGPZLrm4eLTEfkbJRv5Sgh3s?usp=sharing .. take a look into this screenshot.. it looks like all the page are in div container, every text in span container but in distorted format

[-] lavafroth@programming.dev 3 points 1 year ago

I can't view this because the screenshot is not public and I don't have a Google account to request access. In general you will want to right click the div, copy its selector (or if you wanna be specific, the XPATH) and use that in selenium to save the text or the image content.

[-] inosuke@lemmy.fmhy.ml 1 points 1 year ago
[-] lavafroth@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Seems like you can remove the header and the sidebar HTML nodes, set the width of the pdfViewer class to 100% and hit Ctrl+P. Alternatively you may save one "page" at a time using Ctrl+Shift+S as described by @tumulus_scrolls

[-] inosuke@lemmy.fmhy.ml 2 points 1 year ago

yes I think the best and easy way is to take screenshot.. document is secured and text are cipher. I tried to download their videos but they blocked me from their site too..

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
this post was submitted on 19 Jun 2023
11 points (100.0% liked)

FREEMEDIAHECKYEAH

81 readers
1 users here now

๐Ÿฟ ๐Ÿ“บ ๐ŸŽต ๐ŸŽฎ ๐Ÿ“— ๐Ÿ“ฑ


๐Ÿดโ€โ˜ ๏ธ Wiki / ๐Ÿ’ฌ Chat


Rules

1. Please be kind and helpful to one another.

2. No racism, sexism, ableism, homophobia, transphobia, spam.

3. Linking to piracy sites is fine, but please keep links directly to pirated content in DMs.

founded 2 years ago
MODERATORS