Live data from Hacker News

How I bypassed Amazon's Kindle web DRM

blog.pixelmelt.dev

481–490 of 538 posts

Re: How I bypassed Amazon's Kindle web DRM

#481
post #338

Lovely, great effort. I wonder if Kindle Web reader supports word search, but that probably just searches server side and then returns indexed selections. And how about copy-and-paste and accessibility, there must be some a11y support?

You can copy and paste text from it. But you get no formatting, paragraph breaks, etc.

That means it could be used to extract some text to map to glyphs, right?

Re: How I bypassed Amazon's Kindle web DRM

#482
post #6

I personally have bought many fewer books over the last couple of years, from amazon, as they've made it harder and harder to, you know, read the books I've paid for. Pirating books is not hard. They're probably the smallest possible thing that people are interested in copying with the broadest variation in acceptable formats. I know I'm screaming into the void, but if I'm paying real money why is the experience from…

In general, if I don’t have to pay someone to produce something I can provide a better experience to my customers than those who do. It’s why archive.is is so much better to read on than a news site. Might as well ask “when I engage with GPL projects it’s so much worse of an experience than if I just bundle the code and distribute it without a license, why?” It’s often cheaper to not comply than to comply. But my kin…

> In general, if I don’t have to pay someone to produce something I can provide a better experience to my customers

Amazon theoretically makes money with which they pay people to make the user experience good.

Pirates have... a few nerds with some spare time?

Re: How I bypassed Amazon's Kindle web DRM

#483
post #338

Earlier quoted context omitted.

You can copy and paste text from it. But you get no formatting, paragraph breaks, etc.

That means it could be used to extract some text to map to glyphs, right?

Possibly. But given that the font is known, I think plain OCR might be a better bet.

Re: How I bypassed Amazon's Kindle web DRM

#484

Earlier quoted context omitted.

This is essentially how I find myself defending a lot of my DIY stuff. "Wait, you work in tech, why would you ever work on your own car when you can clearly pay someone else to do it???" Because I like to learn things.

Agreed, that is the same way I view things. There is also the great feeling of satisfaction when you finish repairing your own stuff.

More than that, I know every bolt is tight, every piece is inspected, and it connects me to the machine.

Zen and the Art of Motorcycle Maintenance, if you haven't read it

Re: How I bypassed Amazon's Kindle web DRM

#485

Earlier quoted context omitted.

I'm an owner of a Kobo, how did you do that? When I tried, the only options from Amazon were 'transfer to my device' and that only works if you have a Kindle. There was 0 way to just download the stupid file and let me copy it myself.

When I said "bypass", I meant I ditched my kindle for a kobo and stopped buying books on amazon entirely. There is a library built into the kobo you can purchase from, which I do for newer books. However, I've been on a classics kick and I pirate them tbh. Dumas doesn't mind.

I hadn't given the online library much of any thought. I kind of assumed it would not have access to anything I wanted. I decided to take a look, and lo-and-behold, it has pretty much everything I've wanted to read recently. The prices are pretty good, it's like $9 for some and a few on sale for $2 which is a steal.

That's good to know, thanks!

Re: How I bypassed Amazon's Kindle web DRM

#486
post #226

Earlier quoted context omitted.

Is this the code? https://github.com/gudvardur/amazon_book_downloader

Yes. FWIW, as of a few minutes ago when I cloned this one, all the non-git files have the same hashes as the copy of the original I cloned when it was still up. (to clarify, I wasn't talking about any git-specific hashes, just regular sha2/blake2b hashes of python, json, and font files. However, the two sha1 commit hashes in the git history match as well.)

These commit sha's do not match the original:

4526863 - Initial commit

Re: How I bypassed Amazon's Kindle web DRM

#487

Earlier quoted context omitted.

So it can refer to people and what is in their minds too? Anyway I'm not surprised. This kind of pedantry is what lawyers do for a living.

Yes, it can, and I thank God because I wouldn't want more nuclear powers than what the world already has.

If Ukraine did not retire their nuclear weapons... (Russia was surprisingly all too happy to oblige)

All I am saying is that I am not sure it's so simple: sure, if everyone had them, the risk that there is some lunatic crazy enough to actually put them to use rises; but it also potentially stops a bunch of wars, especially bigger countries going after smaller ones.

Re: How I bypassed Amazon's Kindle web DRM

#488
post #323

Earlier quoted context omitted.

Isn't he talking about the print copy?

Print copy: 57% of the price Amazon: 40% of the price Author: 3% of the price (half of which goes to taxes)

He doesn't have to get 3%. He could raise the price so he gets more.

Color printed books are expensive, but I think he chose the premium color print option rather than the standard color print option. You can try it out: https://kdp.amazon.com/en_US/royalty-calculator { pages: 432, dimensions: 7.5"x9.25" } Roughly $18 for basic color and $36 for premium color (which probably also means heavier, higher quality paper).

Amazon takes 40%. Barnes and Noble Press takes 45% for self-published books, and their printing costs are within a couple dollars. Compare to typical retailer+distributor costs of >50% while authors get The economics of retail print publishing and logistics don't seem to work out at higher author royalty rates. Authors who don't want to give up 40% of list price always have the option to handle printing, shipping, and accounting themselves, selling on ebay or from their own website.

Re: How I bypassed Amazon's Kindle web DRM

#489

Earlier quoted context omitted.

Yes. FWIW, as of a few minutes ago when I cloned this one, all the non-git files have the same hashes as the copy of the original I cloned when it was still up. (to clarify, I wasn't talking about any git-specific hashes, just regular sha2/blake2b hashes of python, json, and font files. However, the two sha1 commit hashes in the git history match as well.)

These commit sha's do not match the original: 4526863 - Initial commit

Where are you getting that hex prefix from?

Re: How I bypassed Amazon's Kindle web DRM

#490

Hell hath no fury like an engineer angered! This was such a good read and epitomizes hacking: "Was it worth it? To read one book? No. To prove a point? Absolutely. To learn about SVG rendering, perceptual hashing, and font metrics? Probably yes."

This is essentially how I find myself defending a lot of my DIY stuff. "Wait, you work in tech, why would you ever work on your own car when you can clearly pay someone else to do it???" Because I like to learn things.

Learning things is good. I also find I care more about the outcome and timeline than many professionals do, because I have to deal with the end result. That's not to say professionals can't or won't do the job better, or that they don't have more applicable experience to do the job more efficiently, but evaluating professionals is often as much or more work as learning how to do the job myself and just doing it. On average, the end result is at least better than a poor professional, sometimes as good or better than an average professional.
Post reply on HN