this post was submitted on 19 Jun 2023
11 points (100.0% liked)

FREEMEDIAHECKYEAH

22 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 1 year ago
MODERATORS
 

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 4 points 1 year ago (6 children)

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 (4 children)

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 (3 children)

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 (1 children)
[โ€“] lavafroth@programming.dev 3 points 1 year ago* (last edited 1 year ago) (1 children)

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)