No.68370
sadbro got btfo again and is doubling down on his "mission" (LOL) in spite. unfortunately due to the limited mod tools/settings available here we're not able to do much to prevent it besides the following options:
1. change preview pic size as described here >>61695 and hide his mentally handicapped posts and gay spamfic by hand or
2. implement a whitelist system
thanks to a certain kpgaganon we now have the ability to whitelist, or allow, only kpganons that have been confirmed to not be homosexual degenerate gay dick spammers to post here without their posts being instantly deleted and (hopefully) hidden before being cached/updated in your browser/thread
this works by having 1 thread that anyone can post in in order to get their IP hash whitelisted. the details of the script are uninteresting but basically until your hash is whitelisted all posts in other threads will be deleted
i'm considering running it but there are several problems
1. unfortunately due to his extensive alter-egoshitting i'll have to check IDs and recent post history to confirm it's not broken record gayspammer posting from a new IP (which, believe it or not, i'm not in the habit of doing as i'm not even logged into mod when he isn't here)
2. this inevitably will lead homoschizospammer to now lay low pretending to be other anons (which he's already doing btw) in an attempt to cause confusion and create an opportunity for him to get whitelisted and then eventually post dicks/incite others to complain rather than posting kpop whilst i'm away
3. due to the nature of having a whitelist this will be problematic for legitimate kpganons that post from different/alternating IP addresses for reasons other than spamming gay shit to a handful of people on the internet. the whitelist process doesn't take long (and has a setting to auto whitelist i believe) but i can understand that it is a mild inconvenience and i would avoid it if possible
4. given that (((his))) delusional "mission" is to create disarray and destroy yet another kpg [by convincing others i'm some kind of quote tyrant end quote or otherwise forcing kpganons to post somewhere he can infiltrate and then force his autism without fearing the long dick of the law which he is, for some odd reason (his maniacal persecution complex and crippling insecurities i would imagine), so obsessed with], there is high probability that turning /kpop/ into a whitelisted board will play directly into his goal which i suspect is why he has been pushing for it/asking for mod from other IPs
i fully recognize that the idea/need of/for a whitelist is ridiculous in the first place and is more than likely going to lead one or more kpganons to complain about it and then attempt to direct posters to yet another board but thanks to literally one spammer and the absolute state of 8ch mod tools we've been left with no other options
i know there are 3-4 anons that are definitely for it but, as with anything in life, there are always one or two anons that will just complain about anything and disregard all facts at hand and they are usually the loudest so i've made this thread to discuss kpganon's thoughts on the matter so as to decide how best to proceed (hopefully) to a brighter kpg without borderline retards spamming us with whatever disgusting pics they choose at will
if enough anons decide that it's worth it and don't mind their recent post history being checked i'll setup the script and begin collecting hashes
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68371
RELEASE THE KRAKEN (SCRIPT)
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68372
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68391
>>68370
I see zero point in implementing this
I change my IP quite often, after an IP change I would have to come to the whitelist thread, you would check my post history, and see literally nothing. How would you know if I was sadbro or not? Not to mention that I'd have to wait for you to come online and check the whitelist thread everytime I wanted to post after changing my IP
So either you would have to whitelist everyone, or you would have to ban new people and people who change IP's from ever posting here again.
Also the bot doesn't delete posts instantly, so adding some mods would effectively achieve the same thing, there were 3 applications in that thread yesterday, + I'm sure more people would be willing to help.
Don't know why you're so paranoid about sadbro becoming a mod and deleting every thread, no one cares about the old threads.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68392
if I was you I'd just mod a couple of people. if you're willing to check post history for the whitelist, you can do it for mods too.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68404
>>68370
if i had a different ip every day but from the same isp would you need to verify me everyday?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68405
also, can you link the bot source code so I can look it over?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68408
>>68391
adding mods (essentially janitors) would change nothing because the job you're so eager to get consists entirely of deleting, or cleaning up, scat after it's already been posted and seen by others which is what we're trying to avoid in the first place
giving another user the ability to delete posts has no effect on that seeing as kpganon can just as easily hide the post themselves (essentially deleting it from their view just as any potential volunteer would) until it is wiped from the board entirely, but i suspect you already knew that
also, as i said, there is an auto-invite feature which is bittersweet in that it would basically mean gayshitter just has to make one post in the whitelist thread before posting his precious dickpics but it is an option. this could be turned on permanantly/switched off accordingly and still make it somewhat easier to minimize his autism while still making it not terribly inconvenient for other anons to get whitelisted within just a few minutes if not instantly via the auto-whitelist feature
to the best of my understanding the bot is limited by 8ch server's responsiveness which varys throughout the day, but it has been successful on other board(s) and adding mods would in fact not achieve "the same thing"
while in your position you are of course inclined to use one of your favorite words, "paranoid", but i am in a position to be able to see the lengths (and attempts) to which sadbro aka vivinigger has already gone through to achieve mod status and therefore understandably will do my best to prevent that from happening
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68411
>>68404
you get a new ip hash with every new ip so you would have to post in the whitelist thread every time you switch ips. if the bot is set to auto-invite which would be the case while buttboy is otherwise engaged, it shouldn't take more than a minute or so as far as i know
if i were to do it manually it might take even less time provided i'm here and can just copy+paste your hash into a the whitelist file
when i'm not here, turning auto-whitelist on would be an option but that potentially opens up a window for vivifaggot to whitelist himself (lol) and then we are essentially right back where we started. obviously not ideal but these are the options we have so far
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68412
>>68405
this is the thread kpganon got the script from. it's pretty simple and looks legit to me https://8ch.net/fur/res/20415.html#35829
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68415
If there are enough mods they would be able to actively delete his stuff as he posted it with minimal effort. I've been hiding his posts as he posts them for the past couple of weeks anyway. Making that 'hide' a 'delete' benefits everyone.
There are plenty of people here who have been posting for ages who you can easily check are legit. Regardless, what's the worst that happens if he gets made a mod? he deletes the old threads, and then gets his mod status removed. This is fine imo. If you think the history is important, can we set up an archive/backup of some kind?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68416
if you really care about the old threads you can archive them https://archive.is/k8LVz
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68417
>>68415
>Making that 'hide' a 'delete' benefits everyone.
what you fail to realize is that it also comes with the power to see ids, post history and ban at will and, as i already said, makes no difference to other anons that have already seen the post and can just as easily hide it themselves
i realize you may see this as the only option but in actuality it changes nothing with regards to his ability to spam at will, it merely shifts the burden of cleaning up his mess after the fact to someone else which the entire board is then at mercy to which in terms of upside to downside doesn't make any sense
i won't be adding any moderators for now and as much as sadbro will have you believe it's due to a power trip/my burning desire to prevent x group from being posted here or something equally as unimaginative, that simply isn't true. at the end of the day this boils down to disallowing malintent and idiocy to take hold of yet another kpg which is what i have been delineating since the beginning
also i'm not sure how you reached the conclusion that i can easily check who is legit and who isn't but that simply isn't the case as a short post history isn't much to go on and sadfag has already started impersonating other anons to achieve this exact end
there is an archive but i don't have it enabled, and besides, not hiring a mod has more to do with the fact that i have no way of limiting their permissions (they can do everything i can except log in to the settings page) yet and more than delete every thread they could potentially ban anyone they want
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68418
>>68416
yeah there's an option for http://8archive.moe in the settings page but the mod thing hinges on the ability to ban moreso than their ability to delete the entire catalog
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68420
>>68417
if sadbro bans some legit anons you can just unban everyone. it's not like sadbro will use those old IP's again anyways
this place pretty much dies when you leave and there's no one to delete the dicks, so there is indeed a difference
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68421
>>68417
Your mind seems to be made up, but I'll say my piece anyway.
>what you fail to realize is that it also comes with the power to see ids, post history and ban at will
I do realise this, and don't see an issue. What do you see the result of this being?
>it merely shifts the burden of cleaning up his mess after the fact to someone else
if people are willing, why not? if a persons autoupdate has not refreshed they won't even see the spam and anyone joining the thread will have a clean start. It's an objective improvement.
>not hiring a mod has more to do with the fact that i have no way of limiting their permissions (they can do everything i can except log in to the settings page) yet and more than delete every thread they could potentially ban anyone they want
so if they abuse their power, remove the mod status? we can run a mod chat and it will mostly manage itself.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68426
>>68420
>if sadbro creates a mess you can just clean it up after the damage is already done
>it's not like sadbro will use those old ips
i'm not sure how that is related to your previous point but he actually keeps a list of them according to his multiple personalities and changes changes back and forth to make it look like he is more than one anon. sounds wild, outlandish and crazy because it is
if you saw the report page and all the innerworkings and retardation pointed my way on his beʰᵃˡᶠ you would quickly realize that the lengths he is willing to go to, as we have seen over the last three weeks, are undying and boundless
i do see your point about the undeleted dick posts turning away anyone that visits before they are cleared though
>>68421
>I do realise this, and don't see an issue. What do you see the result of this being?
the result is a potential for the mod in question to ban/otherwise fuck with anons until i check logs with a slight benefit of having someone else to clean up this idiot's mess after the fact, something which isn't an issue with the automod script and would automatically fulfill this task anyway
even in a best-case scenario where a potential mod was 100% trustable in that i didn't have to be concerned with them eventually going beserk (which, let's face it, is unrealistic given the nature of this hobby and number of anons seeking for, i guess, lulz), and completely ignores the issue of preventing autismo from using this board as a vacuum to act out his mental delusions via a whitelisting system which this thread was created to discuss
i definitely see your point about keeping the threads cleaned for any anons joining after the posts have been deleted. this also would be achieved by the aforementioned script albeit with the unfortunately necessary step of requiring the anon to first post in the whitelist thread
like i said before i haven't tested it yet but i don't think whitelisting will take as long as that anon implied or long at all really. if you don't believe me, post in that /fur/ whitelist thread and see how long it takes. idk if they have autoinvite on or not but i know it's fast and you will know because the bot changes the subject of your post to whitelisted when it's done
if there were an option to add a volunteer that can only delete the last 50-100 posts or something i would do it in a heartbeat, but 8ch code just isn't there yet
while you are suggesting i could just remove mod status and undo whatever malicious things they may have potentially done, this is entirely reactionary and creates a situation where the damage is already done, all of which can be avoided by using the whitelist bot which i would like to direct attention back to
this isn't going to be an instant decision as, despite what butthurt gayboi would have you believe, i am trying to consider everyone's opinions and thoughts on this before doing anything
as i said a few times already i think this entire situation is fucking retarded in the first place and i wouldn't have ever considered a whitelist on my own but it was presented to me and has become an option that by creating this thread i was hoping to discuss
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68429
>>68426
I made a test comment in a /fur/ thread
still hasn't been deleted after 5 minutes
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68432
>>68429
ah nevermind, just read how the bot works
you have to manually deploy it in the event of a spam attack
is there even an option to keep it online all the time?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68433
>>68432
i just checked their most recently bumped thread and could not find your post. link if i missed it please. and you do not have to manually deploy it for a spam attack that is a seperate feature entirely
the bot works simply by monitoring the recent posts page and automatically deleting any posts by an IP that is not in the hash database
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68434
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68435
>>68433
per the readme:
#Scripts#
manage:
-simple whitelist manager
-add, find, and remove(not working yet) hashes on the list.
kemotherapy:
-enforces a whitelist while active
-designates an umbrella thread where anyone can post
wlc (whitelist check):
-monitors a chosen thread and appends a poster's whitelist status to the subject field
(See details in Stuff for manually adding hashes)
wlc_auto:
-wlc with the addition of automatically adding users to the whitelist. Should not be used while expecting spam.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68436
>>68434
also gonna warn there's some drawn furry porn above my post…
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68444
>>68434
so your post has been up for 15 mins without being deleted, i also saw viviniglet was whitelisted literally within 30 seconds. so auto-whitelist is on for them but post deletion is obviously not working
i'm not sure what scripts their bo has running so i can't really speculate. i know that if the bot had tried to delete the post even if the site was being particularly slow the deletion would have gone through by now so either they have it turned off or it isn't working as described to me
doesn't necessarily mean the script doesn't work, i'll try to ask there and see what the deal is but at least now we know whitelisting takes literally less than one minute
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68445
>>68435
>wlc_auto:
>-wlc with the addition of automatically adding users to the whitelist. Should not be used while expecting spam.
by the sound of it, if we were to get post deletion working i would be able to basically turn whitelisting completely off while viviscum is sleeping/fucking his dragon dildos
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68491
>>68426
The reason I immediately suggested mods rather than discussing the whitelisting is the same as this guys >>68391. Any practical mechanism you use to add people to the whitelist would be exploitable by the spammer. If no one is ever added to the whitelist after the first batch then the board will die in time.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68499
>>68444
okay so according to >>>/fur/36227 your post wasn't deleted because the delete script was paused. we know whitelisting is almost instant now as well
if we use it, the best way i can think is to have 1 thread for whitelisting but leave wlc_auto (which whitelists everyone automatically as if it's just a regular board -- your posts won't be deleted even if your ip hasn't been put on the list yet) on until vivicunt starts crying again, after which i would turn on whitelist enforcement
everyone that's already on the list won't have to do anything but everyone else will have to post in the whitelist thread first.
from there i can leave it to automatically whitelist everone in the thread and just manually ban vivifag when he inevitably tries to whitelist himself (lol)
this should keep the active thread clean with only whitelisted posters. if you've changed ips since last time all you would have to do is make a post in the whitelist thread and you will be whitelisted in under a minute
when i'm not here to mess with the bot i can either
a) leave the whitelist enforcement on and only users that don't change IPs will be able to keep posting normally. any legit posters that have changed ips would unfortunately have to wait until i manually add them to the list or
b) leave wlc_auto (see >>68435) on and anyone will be able to whitelist themselves before posting but this of course would mean vivinigger just has to make one post before going to the active thread to continue being a retard and then we're right back where we started with anon having to hide posts themselves
neither options are perfect but it's what we have available to us right now. personally i think we should have a trial run and for the most part the only posters that will have to go through a small extra step are ones that change ips often
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68502
>>68499
option a is probably better than b
i'm fine with doing a trial
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68511
I think the problem with finding a mod is finding trusted people to actually hand over the tools to, and not accidentally giving sadbro mod tools somehow
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68520
i'm not reading all this shit
is the whitelist active yet
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68522
>>68521
>vagina
sadbro impersonator?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68595
>>>/fur/36256
>>>/fur/36258
>They will still be able to post, and everyone will see it as normal but...
so unfortunately the script does work as i initially suspected in that it acts only as a cleanup bot and doesn't prevent non-whitelisted posters from posting outside of a designated thread
kpganon will still see hurtinginsidehomo's spam and have to refresh their thread to get rid of it which changes very little. a sad day indeed
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.68845
something like this:
setTimeout(function() {
location.reload();
}, 30000);
it just refreshes the page every 30 seconds. only problem, and it's kind've a big one, is if you're in the middle of typing and it refreshes, it won't save anything. trying to think of a better alternative though.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69233
>>68595
/fur/ here.
Just checking in to see how things are going with your spam issue, like when we helped out /erp/
I don't know if you're aware but the spam flood that crippled all of 8ch's top boards last year was the spammer we beat, until that happened boards that were targeted were rendered completely useless. I don't really think this gayporn spammer is anywhere near that level of autism.
Kemo was built as a way around what CM couldn't do with solving the spam but we still have to work within the framework of what 8ch allows for mod tools hence botmod. Kemo is more powerful than /a/s medios and way more effective at curbing spam. Your board has about the same amount of users as ours and if we can go from one of the biggest targets of spam to spam free then you can too. If it's that much of an issue you're seeking outside help.
Worth noting that CodeMonkey says he will may look into making something like Kemo site wide at some point. When he does make sure to bring up
>>/sudo/41280
>>/sudo/41306
>>/sudo/41307
Imp 8ch dont need a use for safespaces that cant handle seeing any images ever like GAWKER. As long as the shitpost spam is removed, which it will be anyways by mashing the report button. Kemo just speeds it up and solves the issue with needing to hire more mods to combat the spam.
Kemo's on version3 with the newest addition being the automatic add to whitelist because it was a pain to have to look up a hex table every time to add someone but banning someone doesn't remove them from the WL yet, so make sure you manually remove their hash from the files before banning them.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69234
>>69233
fixin crosslinks
>>>/sudo/41280
>>>/sudo/41306
>>>/sudo/41307
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69243
>>69234
one more thing since anons with different IPs have been brought up. We've had that too, the thing is that ISPs dont go through an infinite change of IPs, actually they just cycle through a few of them so an example: maybe an anon with a dynamic IP would get added 3 times but that's it. People who want their VPNs or phones added to the WL can get it added just like normally and while some can share VPNs like with the case of Opera's built in VPNs it's not typical. There's also the rare case of an anon sharing the IP with another.
This is typically why we leave *half of the WL off*, on standby so posts arent nuked but new users can still sign up for shelter when the bombs do drop. The Kemo's anti spam is extremely effective and prevents new threads being posted as well. Much faster than a vol monitoring the board and hitting delete on everything. In the beginning of the spam waves we left Kemo on patrol overnight so the board was protected from spam.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69277
>>69233
>>69234
>>69243
thanks for the help fur bro
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69346
i think i solved our problem.
(function(seconds) {
var refresh,
intvrefresh = function() {
clearInterval(refresh);
refresh = setTimeout(function() {
location.href = location.href;
}, seconds * 1000);
};
$(document).on('keypress click', function() { intvrefresh() });
intvrefresh();
}(15)); // define here seconds
this refreshes the tab when there hasn't been any user input (mouse clicks, keypresses) for 15 seconds. so you run this alongside the whitelist script, turn off the 8ch auto-update and everytime it refreshes you won't ever see schizzonigger's posts. what do you think?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69350
>>69346
based kpganon
this looks like a good solution but i noticed that unless you are replying to a post or have it highlighted (so your address bar changes to https://8ch.net/kpop/res/68370.html#69346) the refresh will send you to the top of the page and any text that might be in the reply box will be erased
for that to happen you would have had to open the quick reply box by clicking [Post a Reply] at the bottom of the page or be idling in the thread without a post number #69346 in your address bar to mark how far down the thread you are
nothing to be done about that within js though i think. it's not a perfect solution either but considering we can turn it off when butthurtgayboi isn't here just like the small preview css code it's definitely a big help thanks for sharing
also i've tried looking for scripts/code to help with mod tools or just general improvements like this but there's surprisingly no threads on 8ch for this stuff and everything i've been able to find on github/userscript sites is old as shit
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69351
>>69350
did you try the code? it was working for me perfectly on two different tabs and now nothing…
i honestly just googled for this code. i don't know a ton about programming, so i wonder if someone can optimize it better for 8chan and it's quirks.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69352
nevermind. looks like 8ch is shitting it's pants right now. that's probably why
https://8ch.net/sudo/res/42278.html
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69353
yeah, the script works on /sudo/ but not here right now.
one thing that would make it better though, maybe you can help, is to make it consider mouse scrolling as activity. cause if you're scrolling down a thread, it doesn't consider that a mouse click or keypress and will refresh
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69357
>>69233
>>69234
>>69243
thanks for popping in, i really apprecaite your help on this. unfortunately i'm not able to get the script working
i have all the dependencies, python2.7, bs4, requests etc but after i log in to my volunteer the bot immediately pauses and does nothing, even after making a post with an unwhitelisted IP (see code below)
root@rpi:~# cd ~/kemopack/scripts
root@rpi:~/kemopack/scripts# ls
kemothera.py manage.py wlc_auto.py wlc.py
root@rpi:~/kemopack/scripts# python --version
Python 2.7.9
root@rpi:~/kemopack/scripts# python kemothera.py
Board: xxxxxxx
Name: xxxxxxx
Password: xxxxxxx
logging in...
logged in
Enter post# of the sign up thread: xxxxx
Monitor https://sys.8ch.net/mod.php?/recent/25
Running... (enter Ctrl+C to quit)
Paused. <----- *** here **
i'm not sure why but i noticed that there is a text file named 'pause' in the whitelist directory and inside of it is a yes state. when i change this parameter to no and then run the script again it runs for a second or two and then gives an attribute error
Running... (enter Ctrl+C to quit)
Traceback (most recent call last):
File "kemothera.py", line 111, in <module>
phash = post.find('a', {'class': 'ip-link'}).text[29:]
AttributeError: 'NoneType' object has no attribute 'text'
i tried running it on windows too just in case but it does the same thing. any ideas on what the problem is or what i might be doing wrong? thanks again
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69358
>>69353
i know pretty much nothing about javascript/css but just adding "scroll" might work. i'll test it later when the site is confirmed working properly
(function(seconds) {
var refresh,
intvrefresh = function() {
clearInterval(refresh);
refresh = setTimeout(function() {
location.href = location.href;
}, seconds * 1000);
};
$(document).on('keypress click scroll', function() { intvrefresh() });
intvrefresh();
}(15)); // define here seconds
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69399
>>69358
i asked someone on /tech/ and he suggested the same thing you did. he also helped so now when it refreshes, it jumps to the bottom of the page. i'm trying it now and it's working perfectly.
ideally you could put this into the kemo script so we don't have this running all the time.
(function(seconds) {
var refresh,
intvrefresh = function() {
clearInterval(refresh);
refresh = setTimeout(function() {
window.location.reload(true);
}, seconds * 1000);
};
$(document).on('keypress click scroll', function() { intvrefresh() });
$(document).on('keypress click scroll', function() { intvrefresh() });
intvrefresh();
}(30)); // define seconds here
now we wait to hear from the /fur/ guy and then it should be good to go.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69417
>>69399
oops. forgot to remove a line. also added any mouse activity as movement.
(function(seconds) {
var refresh,
intvrefresh = function() {
clearInterval(refresh);
refresh = setTimeout(function() {
window.location.reload(true);
}, seconds * 1000);
};
$(document).on('keypress click scroll mousemove', function() { intvrefresh() });
intvrefresh();
}(30)); // define seconds here
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69496
>>69399
>>69417
<8ch coming together against cocksucking spammers
based as fuck. i never would have looked for this so well done lad. this ignores the #post in your address bar but i can't tell if turning auto-update on/off does anything
it's too bad the update function can't remove posts that have been deleted without needing to refresh the whole page
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.69879
>>69357
/fur/iend here again
>unfortunately i'm not able to get the script working
>but after i log in to my volunteer the bot immediately pauses and does nothing
Sounds like to me Kemo is working but once you log into your account it stops. Most likely due to how 8ch's account system works only able to log in to one account per session. Kemo can only function when logged in and we keep Kemo in perma-logged on as a separate account.
I'm fairly sure he does, but I'll double check if Bell (creator of the modbot) runs it from another PC.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.70227
>>69879
>Most likely due to how 8ch's account system works only able to log in to one account per session
i tested the script while logged out of mod or any other account and also from a seperate machine so i don't think that's it. also per >>>/fur/36773 the error indicates that it's an issue parsing the recent posts page which it wouldn't have access to if it were an account problem
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.