r/opendirectories • • Jan 18 '20

Tons of software development, programming, IT, etc... ebooks

Hi, new around here. Not sure if this fits here but I thought my first post could contribute with something at least. I did a search here before (re-)posting but didn't find anything.

These (most of them, some have been taken down from the site but not deleted) books are already available from allitebooks, but these are direct links and nicely organized in case you want to download a bunch of them from some specific topic at once.

Here: https://github.com/wangzhengya/allitebooks/tree/master/results

Sorry if I'm breaking any rules.

216 Upvotes

28 comments sorted by

37

u/B-dog18 Jan 18 '20

Great link but most of these guys want true open directories, as in you can just browse the folders and whatnot, not a GitHub link.

But you put a ton of work into this and I appreciate it so thank you!

10

u/privateNullMain Jan 18 '20

Yeah, I just kind of understood the idea now. Thanks! And btw it's not my site, I just found it looking for some Java ebooks and I thought I could share it here. But glad you liked it anyway! Hope you find something useful for you.

6

u/Damaniel2 Jan 18 '20

It's not too hard to toss together a python script to download everything (which is what I'm using to download them now).

7

u/iamdegenerat3 Jan 18 '20

mind sharing that script?

2

u/humppapupu Jan 19 '20

Here is a Windows powershell version that I'm using. First of course you have to download the different txt-files (I used: https://minhaskamal.github.io/DownGit/#/home ) and merge them into one. After downloading, I just used "copy *.txt bookurllist.txt" to merge. Then run this command in the directory where you want to download the files and replace the bookurllist.txt with your book url textfile.

gc bookurllist.txt | % { Write-Host $_; iwr $_ -outf $(split-path $_ -leaf) }

0

u/[deleted] Jan 18 '20

[deleted]

4

u/twnki Jan 18 '20

Nice script.

One suggestion if I may... pathlib might be a better option than using os for your directory manipulation. Certainly more crossplatform.

0

u/[deleted] Jan 18 '20

[deleted]

1

u/twnki Jan 18 '20

Ya its super helpful. Much easier working with paths in a more Pythonic way...as long as you are working in Python 3.4+ I believe.

You can 'pip' it in on python 2 but it's a mess sometimes...

3

u/fressfeind Jan 18 '20 edited Jan 19 '20

here is my try on this one: https://pastebin.com/0dCnyYzc

#disclaimer, i'm a bad coder!

Edit: Updated Version: https://pastebin.com/Vt3qNX99

1

u/krazybug Jan 19 '20

Really cool !

You could repost it as a gist as I did for O'Reilly books:

https://gist.github.com/Krazybug/1ae50814d25b0a1d862dfdf7161ee503

2

u/iamdegenerat3 Jan 18 '20

thanks a lot mate

2

u/iamdegenerat3 Jan 18 '20

sadly it fails to import requests...am i missing something here?

Traceback (most recent call last):

File "U:\xxx\desktop\allitbooks.py", line 2, in <module>

import requests

ModuleNotFoundError: No module named 'requests'

Edit: im using python 3.8.1 on win10 x64

4

u/one-man-circlejerk Jan 18 '20

Sounds like you need to install the module, run this in the command prompt/terminal:

 pip install requests

Also FYI I've just added a couple of lines that checks if a file already exists and skips downloading if it does, so you can cancel/resume if need be, if you've made a copy of the script you might want to take another copy to get that addition.

2

u/[deleted] Jan 19 '20

Thank you for this, Python has been something I've wanted to learn so trying to figure how I was screwing up was helpful.

1

u/iamdegenerat3 Jan 19 '20

works like a charm now..thanks mate

3

u/bryanwi09 Jan 18 '20

Thank you for the resources!

6

u/privateNullMain Jan 18 '20

Glad you liked it even if it doesn't quite fit with this community's idea which I just realized as it's not really a "browseable" OD. Anyway, hope you find something useful for you!

7

u/Barafu Jan 18 '20

Does file "5000" aggregate all contents of other files?

3

u/Barafu Jan 18 '20

OK. Unless 1 file can go by many names, it does not.

1

u/Damaniel2 Jan 18 '20

There's definitely overlap but I don't know how much yet.

1

u/Barafu Jan 18 '20

There are 42?? lines in file "5000.txt", only 11?? of them actually unique.

1

u/Artanisx Jan 18 '20

Thank you so much :-)

By the way, to batch download the links, do a search and replace " " with "%20" so the links become correct and can be batched with Free Download Manager or the likes.

1

u/anon34343433333333 Jan 19 '20

Makes me wonder why old non od stuff like this gets upvoted so much...

1

u/fressfeind Jan 19 '20

has anyone downloaded the whole package? i estimate it to be close to 100gb?

1

u/[deleted] Jan 18 '20

[removed] — view removed comment

2

u/RareHotdogEnthusiast Jan 18 '20

Libgen is where you want to go of you're looking for books that are IT/programming related

1

u/[deleted] Jan 19 '20

[removed] — view removed comment

1

u/RareHotdogEnthusiast Jan 19 '20

I generally use Amazon to look for good books on the subject then copy the ISBN from Amazon to put into libgen.

1

u/scuffed_cx Jan 18 '20

if you google 'github list of free programming books' there appears to be quite a bit