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@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    1
    ·
    edit-2
    1 year ago

    #pip install pikepdf

    import pikepdf

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

    pdf.save(‘new_filename.pdf’)

    #That’s if you have it in the same folder. You can make that script more clever. It strips of DRM stuff.