[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

e-hentai downloader

This is a red board which means that it's strictly for adults (Not Safe For Work content only). If you see any illegal content, please report it.

Thread replies: 42
Thread images: 4

File: 1.jpg (172KB, 978x1400px) Image search: [Google]
1.jpg
172KB, 978x1400px
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.
>>
File: halp.png (55KB, 1146x669px) Image search: [Google]
halp.png
55KB, 1146x669px
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.
>>
>>7578806
>>7578806
t was made for personal use, so I didn't spend much time fixing errors for other users.
>>
>>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.
>>
File: Selection_501.png (6KB, 204x317px) Image search: [Google]
Selection_501.png
6KB, 204x317px
>>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
>>
File: 1502347692.jpg (26KB, 402x79px) Image search: [Google]
1502347692.jpg
26KB, 402x79px
>>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
>>
>>7581605
>cookies

Last time I dealt with them I ended up creating a parser according to RFC grammar. Shit was real fucking complicated.

>>7581612
You're better than 99% of posters on /g/'s daily programming thread.
Thread posts: 42
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.