Looking for help with de-DRMing an eBook from yuzu reader

Just bought an “enhanced eBook”, accessible only through Yuzu (Barnes and Noble’s site) and I would love to rip it to PDF and get it on libgen. Does anyone have any advice or tutorial for this?

I don’t have much experience with writing scripts but I understand I could use python to screenshot and append all 800+ pages as well. Looking for how to do this if it’s what I have to do.

Thanks, and happy to provide more relevant info if needed!

andrew_bidlaw, (edited )
@andrew_bidlaw@sh.itjust.works avatar

install pikepdf

import pikepdf

pdf = pikepdf.open(‘filename.pdf’, allow_overwriting_input=True)

pdf.save(‘new_filename.pdf’)

’s if you have it in the same folder. You can make that script more clever. It strips off DRM stuff like printing, copying, editing permissions that are respected by most programs. Probably kills your DRM too.

chepox,

Have you tried acquiring the file from ‘elsewhere’ (see megathread)?

SqueakySpider,

yeah, libgen + others, it’s a recent edition and unavailable so far. Figured I’d try to get it available to others myself :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • piracy@lemmy.dbzer0.com
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #