I've made a e-hentai downloader that uses c#.
I know that it's not directly content, I figured the users of this board would have a good use for it.
The code and exe can be found at https://github.com/Jamessmith3125/EHentai-Downloader
>>7578137
Mind if I repost the link on infinite's /d/?
>>7578137
Where do the downloaded files even go?
>>7578260
Go for it
>>7578300
A folder is created that matches the title. The images go in there.
What'd I do wrong?
>>7578305
and where does the folder appear?
>>7578137
The lack of separation of concerns kills my erection.
>>7578329
>NullReferenceException
You didn't do anything wrong. I don't even have to browse the source code to know OP fucked up the programming. He didn't check his nulls.
I see there's a problem with redirects. The gallery probably issued some crazy HTTP redirects because it's exhentai only or some shit, and he didn't handle it correctly. This probably fed a null object to the function that expects an actual gallery to download, and the program blew up.
>>7578329
So far it's only designed to work on https://e-hentai.org/
>>7578772
The folder is created in the same directory as the application.
>e-hentai
exhentai has torrents built in faggot
would be terrific if applicable to ex
>>7578928
Not everything has seeded torrents.
>>7579637
see that little "archive download" link? that's what you are searching. And it ven allows you to download it in whatever resolution you want.
OP's work seems kinda cool, that's great, but it's just... kinda useless?
And even more so if it works on e-h only
>>7579686
hownew.ru
you need credits to download, and unless you regularly contribute or play that shitty minigame you will not have enough to download more than 1 or 2 galleries. so no, an external downloader that bypasses that system is far from being useless
>>7579894
>oh my god, I need to contribute to the community to use its services
>why isn't everything served to me on a silver plate?
Since when did /d/eviants become this shitty?
seriously, go to the bounties page, grab any low edit bounty and tadah, you got enough GP for everything you need.
>>7580327
>having to work for some shitty doujin archive
Are you seriously defending this crap?
>>7580327
You're a retard.
There is a finite amount of porn in existence.
You cannot just download it elsewhere and upload it.
You also can't just buy it off the shelves and scan it your self.
You also can't just download entire galleries of artists and upload them in a big dump.
Because someone already has.
There is no reasonable way to contribute short of drawing your own fucking porn and uploading it directly.
>>7580437
if it's shitty, why would you even want to download it? and if it's not, isn't it worth spending a few minutes of your precious time editing a few pages?
And btw, it's called being part of a community. Yes, I am defending working a bit to get good quality material.
>>7580444
if you want to "cheat the system" you can upload pretty much anything you want. I have even seen Warhammer sourcebooks on exhentai. Or do a shitty compilation of your porn folder. There are a shitload of those.
>>7580480
>Or do a shitty compilation of your porn folder. There are a shitload of those.
Yeah, saturating sadpanda with more shitty compilations is worse than just cheating the system.
>>7580536
well, I am certainly not vouching for that. merely explaining to the short minded there are actually easier ways to do it than a buggy downloader. but yeah, the easiest way is still to be an active part of ex, like anybody with a bit of common sense would do.
>>7580546
I got enough credits for several years of downloads by uploading a new doujin translation, but for people who aren't dedicated editors or know japanese that's quite hard to do. I was just lucky to snipe it.
>>7580553
you don't need to be dedicated to download the gimp and spend three hours of time editing several pages. and that gives you far enough for several months.
>>7580560
To edit the pages you need a translation.
>>7580564
there are a shitton of bounties for editing only, be it just cleaning, or also typesetting. And, beside the reward they give, some even allow you to upload the file on your account.
I don't speak a word of japanese and didn't knew a thing about editing before going to exhentai, yet I have more credits than I will ever use.
Has anyone actually used the program yet, or has this just been a discussion of its usefulness?
>>7580826
apparently some did, one with a bug
>>7580480
>upload shit nobody wants so you can download
Oh god it's the what.cd mentality
I bet you think your silly bandcamp uploads were positive contributions to the "community"
>>7581145
I fear what I wrote wasn't clear, I do not condone this kind of actions. I was merely acknowledging their existence.
>>7578137
Decompiled, didn't see anything suspicious.
JDownloader works fine on e-h, OP, and has queueing functions. Haven't tried ex. They even git rid of that stupid malware-infested installer.
>>7581432
For ex I'll need to create an account and do the week wait, afterwards I'll have to deal with cookie manipulation. Currently a user interface is being worked on.
A beta user interface has been made.
>>7581497
Are you going to add a nant buildscript or something, too?
>>7581500
Sadly I have no idea what that is
>>7581599
Nant is a C# buildsystem. It's like VS but purely for the commandline.
Visual Studio .sln, .suo, and .csproj files are also acceptable.
Sorry but I'm too out of practice with programming to deal with cross site logins and cookie manipulation. It looks like ex be included.
>>7581603
Because you seem interested I'll upload the new code for the UI
>>7581608
Actually, I'm using JDownloader since it already exists and I use it for other shit. I was trying to say that it would be helpful for those trying to build your project on GitHub.
>>7581610
I see. Sorry but I'm still new to sharing code