Decensooru

Remember when a few days ago I posted about a userscript to decensor Danbooru after they axed some legacy API features?
github.com/friendlyanon/decensooru
Had to move the repo because the other guy who was supposed to update hashes in the repo acted like a fucking retard. If anyone knows a person with gold account please tell them about my repo, I need an API key to scrape locked content.

Other urls found in this thread:

github.com/Darayavaush/decensooru)
github.com/Darayavaush/decensooru/blob/master/decensooru.user.js
github.com/friendlyanon/decensooru/blob/master/decensooru.user.js
github.com/Darayavaush/decensooru/commits/master
warosu.org/g/thread/S63109279
warosu.org/g/thread/S63109279#p63127429
github.com/Darayavaush/decensooru),
userstyles.org/styles/141949/adfree-gelbooru-w-dark-theme
github.com/Darayavaush/decensooru
github.com/pseudonymous/better-better-booru/issues/82
twitter.com/NSFWRedditImage

What did he do? Also thanks for finding a work around their bullshit paywall. I fucking hate Sankaku and Gelbooru.

Out of curiosity, how does it work? Do you automatically download the hidden images and stream it? Or does it grab their MD5 hashes and uses other boorus to grab it?

looks like the "workaround" is that someone else pays for it.

You don't have to pay for it. Old Danbooru accounts should have the same privileges as a Gold account if they uploaded images before the paywall was set up. I'm sure one of us have it.

I have a Sup Forums gold account how I can help you sir?

Being a paranoid needy cunt, just an all around nuisance who was horrid to interact with. Even tho I voluntarily helped he still treated me as I owed him something and treated me like a cumrag or whatever.
Not my problem anymore.

Paranoid over what and what were his demands? This is odd.

hey look it's that one autist again who goes to great lengths to skip a loli porn paywall and is OCD about his tags

What is so autistic about making a script? What OCD are you talking about? You sound awfully butthurt and frustrated over something that is free and open source that has access to premium features. Are you a mod on Danbooru?

Stop posting here, pedo scum

You are ruining the image of the board. We don't want you here and nobody cares about pedoshit

Paranoid over the dates for batches of hashes being visible on git, so he demanded it be moved to some obscure shitsite, the userscript to be obfuscated to hell and back, the batches being encoded, etc. Shit like that, things that I'm not even going to bother with. I think he's in the delusion that this is something the danbooru dudes cannot fix easily if they wanted to.

t. Retard

The filenames on images from Danbooru are MD5 hashes tho. Or did he think it was something else? Kek

gelbooru is better.

>implying Richard Stallman, who's picture is pinned to the top of the first page didn't defend pedophilia

Honestly no clue. That's why I left the dude alone, let him boil in his own piss. Only bad thing about this is that I never had the API key to scrape stuff with.

I usually use gel too, in fact I have other userscripts for that site, but this is something I thought I could donate a bit of my free time to, since I'm not doing much till starting uni next year.

I've been using the original script (github.com/Darayavaush/decensooru) for the last few days (which is working perfectly, btw) and decided to give this a try.
OP, riddle me this:
Why did you make this? The 'normal' version is not supported on Pale Moon, so I have to use a downgraded version. I've been waiting for your script to update the db for five minutes and it's like 10% done. The original took like 15 seconds. That's what, 200 times speed difference? It even uses a fucking popup. I took a look at the code and your script is 10 times longer than the original and for some damn reason reimplements BBB's display functions. You even stole the name.
Seriously, what possible advantage does this pile of shit have over the original?

Are you on 256MB ram

The "normal" version is written using ES2017 syntax. PaleMoon is based on Firefox 27, so it only supports ES2015. The ES2017 version is transpiled using babel to ES2015 so older browser can use it as well.
>and it's like 10% done
The current version uses Promise.all to speed things up a little, but it also lacks a progress display with that. So you are either full of bullshit or I don't know really.
>It even uses a fucking popup
So you can minimize it and let it do its thing while you do other stuff. Service Workers are even less usable on the web that ES2017 is, because of poor support, so you have to deal with the popup.
> I took a look at the code and your script is 10 times longer than the original and for some damn reason reimplements BBB's display functions.
??? elaborate on this please
>You even stole the name.
The "original" version was written by me, was licensed with WTFPL and the other guy did not object to that.
>what possible advantage does this pile of shit have over the original?
You just said that you looked at the code, so I assume you should have noticed by now that this is also the same script, except it's on my repo now so that other autist can do his own thing alone.

Why not just use Gelbooru? I know Sankaku is shit now, but from what I've used of Gelbooru it's fine.

Why not just read the thread? You'll find the answer to your question.

So why waste time doing this then if Gelbooru is fine?

How does this work? I'm seeing localstorage but why?

Gelbooru gets their non shitty images from Danbooru and the latter update tags on a daily basis and has a good community.

read localStorage is used only to sync tabs during population of the local database with the storage event. The actual storage backend is localForage which is just a wrapper for IndexedDB, WebSQL and as a fallback localStorage, which provides a localStorage-esque API to store data

So the script downloads all of the images with hidden tags on my pc or did I misunderstand it

just the hashes to access the images
I advise you to just download it and try it. If you find anything that breaks or you have suggestions what to do, then you can email me on the email in the readme, but I'm not likely to work on this thing until I get an API key.

>The "original" version was written by me,
>I assume you should have noticed by now that this is also the same script
What the hell are you talking about? You do realize we can see the commit history, scriptkiddie? There is zero overlap between the two scripts and there was no contribution by you. You stole the name and are now claiming that you somehow wrote the original?
>??? elaborate on this please
Have you actually seen the script you are imitating for some fucking reason? It injects the new data for BBB to display, while you are redoing all the dirty work, while still requiring BBB to be installed. This is amazingly bad code.

Fucking hell, how low are you willing to stoop for attention to steal the name of a tiny open-source project?

chill m8

>/friendlyanon/decensooru
this is me (OP)

>/Darayavaush/decensooru
some angry cunt who doesn't know JS

So you aren't actually going to argue that you are talking out of your ass and claiming to have written code you actually have no relation to?

Nigger you're the one who made the claim that he's not the author. Prove it or get the fuck out, the code looks the same and he is the author until you disapprove it.

wat

Samefagging, are we. But ok, I'll bite. Here is the code of the original, written by Darayavaush:
github.com/Darayavaush/decensooru/blob/master/decensooru.user.js
Here is the code of this knockoff:
github.com/friendlyanon/decensooru/blob/master/decensooru.user.js
friendlyanon claims that the first version was actually written by him, except he has no idea how it works and there is no trace of his contribution. I'm honestly failing to understand why anyone would do that.

You're so fucking stupid. Let's see if Darayavaush updates it, because according to you, "he is the author".

>github.com/Darayavaush/decensooru/commits/master
>Initial commit: 3 days ago (Oct 30)

>warosu.org/g/thread/S63109279
>Oct 28

You're a fucking retard. You are pointing to a repository with a single contributor and claiming that the code was written by someone else because some attention whore showed up on Sup Forums and claimed that he was the author with no proof whatsoever.

The OP of that thread links to Darayavaush/decensooru. You are literally confirming that friendlyanon is an autist who claims to own other people's code.

warosu.org/g/thread/S63109279#p63127429

So OP is actually just fishing for a free Danbooru gold account? I'm just gonna sit back and see how these userscripts end up.

Yes, I'm fishing for one from a kind enough soul, because that's needed to keep the database up to date on the git

on that note, how easy/hard would it be to spoof the creation of a new account as being made before the paywall? is there anyway to insert false registration dates so that their database thinks your account was around before and automatically regards you as gold? because it seems like that(slightly possibly) is the only check they have in place for whether an account it gold or not--existed before date xx/xx/xxxx or after date xx/xx/xxxx and payment has been confirmed---sort of pooloo verification

SQL injection if you are dedicated and get lucky

could you give me a short rundown of what that would entail? I'm not asking you to tell me how exactly to do it or any do my homework shit like that, I just want to get enough of an idea to decide if I'd be willing to put in the dedication and cross my fingers

OP you can't be for real. You're going to resort to begging or hacking to avoid paying 20$ for your project?

don't listen to that moron. there's 0% chance that Danbooru would be susceptible to something as basic as SQL injection. just use the original decensooru (github.com/Darayavaush/decensooru), which is updating a few times per day.

>latest commit 3 days ago

Just use Gelbooru with userstyles.org/styles/141949/adfree-gelbooru-w-dark-theme to block the ads

Okay Darayavaush, you can go away now

I feel another uBlock Origin situation brewing.

it's not hosting the batches on Github. if I understand the clusterfuck above correctly, that was the whole point of the split. in any case, I can see the latest loli post, which was posted 10 hours ago.

v0.9.1.0 out with notes fixed, pic related

I explained the issue here

Noice, you got access to the API now?

Nope, need a key for that still.
Also, got this in mail. I think these people have 0 understanding how easy it would be for the danbooru people to block access for unprivileged visitors.

You heard the man OP. Please do the needful.

You received an offer of assistance from the original key owner and instead of doing what he asks in exchange you post it here, becauuuuse...? Are you simply trying to be the maximum asshole possible for the sake of it, OP? Because it definitely looks like it.

jesus op how can you be such an astronomical faggot. are you fucking obsessed with keeping this shit on github or what.

You guys are dumb. Like I explained it already ITT I just wanted to get away from that Dariush cunt. I'll definitely hook up with this dude and talk out the details.

Oh boy. And here I was actually planing to offer you a key (proud Danbooru oldfag here) when I get home. You can fuck right off with that attitude, sonny.

So. You post his email for ridicule here and then say that you'll run begging to him? Are you ACTUALLY bipolar? In a medical sense, not as an insult.

kys faggot

Also what data is he talking about??? Wtf is going on, does he think images downloaded from Danbooru stores a unique key or something?

OP, let me get the facts straight - you shit on the original author of the script, steal the name and his batch, then beg everyone for a key for your shitty replacement for a working script because you're butthurt, then shit on the good guy who originally donated his key and offered it again, and I'm not even touching the problems with your actual script mentioned above. Have you ever considered that maybe you're just a shit human being?

should i fap to this pic

I appreciate you trying to make danbooru content accessible again OP. So far you're not doing a good job at convincing people why your fork is better though. Or why they should donate a key to support it.

Is his attempt at obfuscating or encrypting the workaround introducing any downsides?

I checked Darayavaush's code. Apparently what he's doing is 'encrypting' it by inverting the last 5 bits of every character and 'decrypting' by doing the same. This is an absolutely trivial process that takes a negligible amount of time. I have no idea what OP is blathering about about 'obfuscated to hell and back'. And the 'shitsite' in question is Backblaze B2, which is a completely normal S3-alike. It really looks like OP is just butthurt about something and he's lying about a made-up issue to justify splitting off.

>mfw IP count does not change with any of the posts dissing OP
whoever this Darisuh dude is he is really butthurt about OP leaving him to the point to be guilt tripping and samefagging this hard

Who cares, two autists competing against each other is better than one.

desu I wouldn't be surprised if this is OP dissing himself to paint himself as a victim for... fuck, I don't know. I have no idea what he's doing - the only obvious goal was picking up an API key, and he's definitely not doing himself any favors by behavior like posting that email.

That's not the real OP image

> stored encrypted
My sides
It obviously will work, it's not like there's torrents of content originally stored encrypted or anything

>encryption

I don't get it, against what lmao. Ignore the shills, OP. They're trying to piss you off so that people are forced to use Gelbooru or some other shitty booru that's not Danbooru.

>original uses encryption, therefore a shitty ripoff and a slew of insults against the author is completely justified
god-tier logic. samefag harder, OP.

Nigger I thought we told you to prove your shitty false claims and now you're accusing people for samefagging. The "original" was made by OP and the lack of updates and contributions to it by that repo owner confirms it. Deal with it, nigger.

you told _me_ nothing. surpise-surprise, more than one person thinks that OP is a bipolar moron.

That's funny because the number of posters in the thread hasn't increased. Fuck off.

You're dumb as shit.

Your shitposting, false claims and samefagging and ill demeanor towards OP makes no sense and it's pretty obvious you're a retard who paid to view lolis on Danbooru or you're that dipshit who demanded "encryption". Eat a fucking dick, retard. Go and screech somewhere else if you can't prove your shitty false claims.

>people picking sides between OP and someone they don't know based on literally nothing

I don't know why that retard is trying to irritate OP. OP is offering a script that lets us see the hidden content on Danbooru and we've got this nigger faggot crying about it. Hopefully we'll see more updates to the script.

the virgin danbooru vs the chad gelbooru

isnt localforage a huge risk? You could turn it into a zombie network etc, there has to be a better way

You're really scraping the bottom of the barrel trying to badmouth OP, arentcha. Get the fuck out already, we've had enough of your bullshit.

The pop up disappeared after some time but it says I still need a gold acc. Wat do

Using the latest chromium

post pics

This version is not updating because OP is a dickhead. Switch to the original Decensooru, it's up to date.

Pic of what? The thumbnail says hidden and when I click it, it says I need a gold acc.

What do you mean?

pic of the post listing page with console open
also is Dariush, some angry teenager, just ignore him

I mean that OP shat on the person supplying him with batches for the horrible crime of adding encryption, and then he posted here a email he got from the guy who originally gave the key to the batch guy to make fun of him. Apparently he thinks that pissing everyone off will encourage people to help him.
Anyway, the original version is at github.com/Darayavaush/decensooru . I've been running it for several days and it works smooth as butter.

Every time I visit danbooru I need to do the first time set-up all over again. What Firefox privacy cleaning do I have to disable to make this work? Do I have to allow offline storage or don't clear cache on shutdown?

>danbooru
>not just getting your images straight from the source from pixiv, seiga, or nijie

Why is always slutty Arisu pics? What has she done to you?

>horrible crime of adding encryption
It's not a horrible crime, just a really, really pointless and stupid idea.
OP, take two seconds and explain to this guy what a hash function is.

It's the start of the danbooru decensor wars

Wow neato

These don't have tags nearly as good and complete as danbooru's. Also it's a huge fucking pain to keep up-to-date with your favorite tags and artists when their stuff is spread out on 5 or 6 different sites.

I'm about to, so yeah

The last time, the BBB, Grabber, and Hydra guys were around the thread too, right??... If that happens again, I just wanted to say thank you to Bionus for the latest Grabber update.

Fuck Danjewru, they ban too many artists.

Wouldn't a *booru desktop client be a better idea?

Did BBB change the thing that let me see the full name of a work at the foot of the image by default? Also, I cannot access the settings now... I assume it has something to do with some JS being blocked by my side?

Dumb normalfag.

Fuck you too, buddy

Fuck off Dariush, you were asked to prove your claims multiple times and you failed to do so each time. OP was nice enough to help you with this userscript, but you just had to act like a cunt anyway.

github.com/pseudonymous/better-better-booru/issues/82 - OP volunteers to help
warosu.org/g/thread/S63109279 - OP posts a thread about it
Proof it was OP (you just magically failed to respond to that): warosu.org/g/thread/S63109279#p63127429
Then OP has enough of your shit on Oct 29 (?)
You delete the repo and replace it on Oct 30
OP then rehosts his own work on his own repo - now