Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 06:29:40 PM Last edit: August 03, 2019, 09:53:26 PM by Aero Blue Merited by LoyceV (9), ABCbits (6), Welsh (4), hugeblack (4), redsn0w (3), mprep (1), babo (1), actmyname (1), tranthidung (1), hd49728 (1), cabalism13 (1), Macadonian (1) |
|
General:You can view or download the script on GitHub. You must have Python 3 installed in order to use, however an executable version will be available soon. More info is available on GitHub, let me know what you guys think! Process: 1. Logs in using specified credentials 2. Checks provided topic numbers, getting last post time 3. Bumps topics that haven't been replied to in the last 24 hours 4. Sleeps for specified interval before repeating Features:- Uses pure Python Requests (Lightning Fast)
- Simple setup via .ini file (No command prompts!)
- Completely automatic (login => check thread => post reply)
- Supports multiple threads and random message selection
- More coming soon
Edit: Thanks so much for Full Member ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
Lafu
Legendary
Offline
Activity: 3094
Merit: 3196
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 06:34:03 PM |
|
Guess something like that is exactly what some Spamthreads are using and i am not a friend of it ! Why need a auto reply script ? To lazy for write or to look after threads and post you have written ?
|
|
|
|
Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 06:45:25 PM |
|
Guess something like that is exactly what some Spamthreads are using and i am not a friend of it ! Why need a auto reply script ? To lazy for write or to look after threads and post you have written ?
This is not meant to be used for spam, and there are certainly many useful applications. Threads will only be bumped if they have not been replied to within 24 hours (following forum policy). Lots of us don't have the time to bump all our threads which is somewhat required to keep up with the rest of the forum.
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17360
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 07:01:47 PM |
|
Typo: # interval in seconds (60 = 1 min, 600 = 100 min) 100 > 10 I checked the source, but (despite knowing nothing about Python) can't find where you delete old bumps. Without deleting them, this would break forum rules.
Two years ago, I had a python-bot that could post from a Linux command line ( posts like these), but it stopped working (probably because of Cloudflare). I'd really like to have a posting bot again for my many data projects. I'd love to have a command line tool that I can just feed a topicID and a text-file (including BBCode). Would this be possible to inplement? Many spammers spam this forum with bots, I'd like to use it for useful data.
|
|
|
|
Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 07:32:23 PM |
|
Typo: # interval in seconds (60 = 1 min, 600 = 100 min) 100 > 10 I checked the source, but (despite knowing nothing about Python) can't find where you delete old bumps. Without deleting them, this would break forum rules.
Two years ago, I had a python-bot that could post from a Linux command line ( posts like these), but it stopped working (probably because of Cloudflare). I'd really like to have a posting bot again for my many data projects. I'd love to have a command line tool that I can just feed a topicID and a text-file (including BBCode). Would this be possible to inplement? Many spammers spam this forum with bots, I'd like to use it for useful data. Yea I will add the delete after 24 hours (although this process would be most likely interrupted by the user), maybe I'll have a file that schedules posts for deletion which is read on script start. As for your request, honestly I like using argparse a lot better than a config file, but most users don't like messing with a command prompt. So what exactly is your request? You just want to be able to post to a topic from command line? Example: reply.py --topic [topic_id] --file [file_path] If so, I just have to copy paste a few things and it'll be done.
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17360
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 08:00:27 PM |
|
Example: reply.py --topic [topic_id] --file [file_path] If so, I just have to copy paste a few things and it'll be done. That would be great! I like command prompts ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I don't need any checks to see if something has been posted 24 hours prior to this, and no posts need to be deleted. This is an example of a weekly post that I'd like to be posted by LoyceBot instead of me.
|
|
|
|
Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2019, 09:01:57 PM |
|
Example: reply.py --topic [topic_id] --file [file_path] If so, I just have to copy paste a few things and it'll be done. That would be great! I like command prompts ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I don't need any checks to see if something has been posted 24 hours prior to this, and no posts need to be deleted. This is an example of a weekly post that I'd like to be posted by LoyceBot instead of me. here you go, I didn't run this all the way through, but it should work. Note that you will need to edit the USERNAME, PASSWORD, and CAPTCHA_CODE variables at the top of the script.
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
hd49728
Legendary
Offline
Activity: 2212
Merit: 1083
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 02, 2019, 07:37:22 AM |
|
Here you go. Thank you for spending your time for this script. Added newest userscript. Topic | Date | written by | Section | Merit | | ________________________________________________________________ | __________ | _____________ | ______________________________ | ____ | AutoReply v1.0 | 01/4/2019 | Aero Blue | bump thread & delete old bumps | 2+ |
|
| CHIPS.GG | | | ▄▄███████▄▄ ▄████▀▀▀▀▀▀▀████▄ ▄███▀░▄░▀▀▀▀▀░▄░▀███▄ ▄███░▄▀░░░░░░░░░▀▄░███▄ ▄███░▄░░░▄█████▄░░░▄░███▄ ███░▄▀░░░███████░░░▀▄░███ ███░█░░░▀▀▀▀▀░░░▀░░░█░███ ███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░███ ▀███░▀░▀▄██▀░▀██▄▀░▀░███▀ ▀███░▀▄░░░░░░░░░▄▀░███▀ ▀███▄░▀░▄▄▄▄▄░▀░▄███▀ ▀████▄▄▄▄▄▄▄████▀ █████████████████████████ | | ▄▄███████▄▄ ▄███████████████▄ ▄█▀▀▀▄█████████▄▀▀▀█▄ ▄██████▀▄█▄▄▄█▄▀██████▄ ▄████████▄█████▄████████▄ ████████▄███████▄████████ ███████▄█████████▄███████ ███▄▄▀▀█▀▀█████▀▀█▀▀▄▄███ ▀█████████▀▀██▀█████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀████▄▄███▄▄████▀ ████████████████████████ | | 3000+ UNIQUE GAMES | | | 12+ CURRENCIES ACCEPTED | | | VIP REWARD PROGRAM | | ◥ | Play Now |
|
|
|
babo
Legendary
Online
Activity: 3724
Merit: 4391
The hacker spirit breaks any spell
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 02, 2019, 07:53:35 AM |
|
i love opensource project and script for automate life ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) thank you
|
|
|
|
hd49728
Legendary
Offline
Activity: 2212
Merit: 1083
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 02, 2019, 07:56:18 AM |
|
i love opensource project and script for automate life ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) thank you Scripts for reproducible things, you meant?
|
| CHIPS.GG | | | ▄▄███████▄▄ ▄████▀▀▀▀▀▀▀████▄ ▄███▀░▄░▀▀▀▀▀░▄░▀███▄ ▄███░▄▀░░░░░░░░░▀▄░███▄ ▄███░▄░░░▄█████▄░░░▄░███▄ ███░▄▀░░░███████░░░▀▄░███ ███░█░░░▀▀▀▀▀░░░▀░░░█░███ ███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░███ ▀███░▀░▀▄██▀░▀██▄▀░▀░███▀ ▀███░▀▄░░░░░░░░░▄▀░███▀ ▀███▄░▀░▄▄▄▄▄░▀░▄███▀ ▀████▄▄▄▄▄▄▄████▀ █████████████████████████ | | ▄▄███████▄▄ ▄███████████████▄ ▄█▀▀▀▄█████████▄▀▀▀█▄ ▄██████▀▄█▄▄▄█▄▀██████▄ ▄████████▄█████▄████████▄ ████████▄███████▄████████ ███████▄█████████▄███████ ███▄▄▀▀█▀▀█████▀▀█▀▀▄▄███ ▀█████████▀▀██▀█████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀████▄▄███▄▄████▀ ████████████████████████ | | 3000+ UNIQUE GAMES | | | 12+ CURRENCIES ACCEPTED | | | VIP REWARD PROGRAM | | ◥ | Play Now |
|
|
|
babo
Legendary
Online
Activity: 3724
Merit: 4391
The hacker spirit breaks any spell
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 02, 2019, 07:57:53 AM |
|
Scripts for reproducible things, you meant?
no, i mean, with opensource - i can inspect code - i can learn from code - i can improve code
|
|
|
|
Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 02, 2019, 07:59:10 PM |
|
~
no, i mean, with opensource - i can inspect code - i can learn from code - i can improve code
Yea I am the same way, I love just looking at others code. I find it so interesting, especially in Python where the structure is so flexible. I found this GitHub page the other day and I spent hours just looking at it. It opens my eyes to how many different ways there are to do things and I often try to implement new styles as a way to learn them. I'm glad that you are so happy about my barely working script lol.
For the thread:Automatic deletions are now implemented! This is most likely extremely buggy, so I need your help! Over the next few days I will be testing this and improving the script. Eventually I plan to package it into an .exe so it's available to everyone. As for next ideas, I am thinking of also adding "scheduled posts".
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
hd49728
Legendary
Offline
Activity: 2212
Merit: 1083
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 03, 2019, 03:10:48 AM |
|
As you knew, I am not a fan of userscript, because I don't run any kind of business here, and simply would prefer to use given options/ features from forum. However, I have one suggestion for OP, that is: the userscript should allow users to set up their prefered timegaps between pumps, rather than a default (or only by now) with 24 hours per one bump (with delete of past bump, because it help users don't violate forum rules.). This new option will help users to choose bumping their thread each three days or each 7 days.
|
| CHIPS.GG | | | ▄▄███████▄▄ ▄████▀▀▀▀▀▀▀████▄ ▄███▀░▄░▀▀▀▀▀░▄░▀███▄ ▄███░▄▀░░░░░░░░░▀▄░███▄ ▄███░▄░░░▄█████▄░░░▄░███▄ ███░▄▀░░░███████░░░▀▄░███ ███░█░░░▀▀▀▀▀░░░▀░░░█░███ ███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░███ ▀███░▀░▀▄██▀░▀██▄▀░▀░███▀ ▀███░▀▄░░░░░░░░░▄▀░███▀ ▀███▄░▀░▄▄▄▄▄░▀░▄███▀ ▀████▄▄▄▄▄▄▄████▀ █████████████████████████ | | ▄▄███████▄▄ ▄███████████████▄ ▄█▀▀▀▄█████████▄▀▀▀█▄ ▄██████▀▄█▄▄▄█▄▀██████▄ ▄████████▄█████▄████████▄ ████████▄███████▄████████ ███████▄█████████▄███████ ███▄▄▀▀█▀▀█████▀▀█▀▀▄▄███ ▀█████████▀▀██▀█████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀████▄▄███▄▄████▀ ████████████████████████ | | 3000+ UNIQUE GAMES | | | 12+ CURRENCIES ACCEPTED | | | VIP REWARD PROGRAM | | ◥ | Play Now |
|
|
|
hugeblack
Legendary
Offline
Activity: 2632
Merit: 3890
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 03, 2019, 07:36:56 AM |
|
Can an expert confirm whether this code is safe? I am currently learning Python so my knowledge is not that efficient.
I've read how it works, it's simple and easy to understand, also re-pumping topics will reduce a lot of time.
I did not understand "interval"? I thought it would be, post "YOUR_BUMPING_MESSAGE" in "YOUR_TOPIC_NUMBER", at "TIME(MIN_HOUR)", Delete "BUMPING_MESSAGE" in "YOUR_TOPIC_NUMBER", at "TIME(MIN_HOUR)."
|
|
|
|
Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 03, 2019, 01:02:18 PM |
|
Can an expert confirm whether this code is safe? I am currently learning Python so my knowledge is not that efficient.
I've read how it works, it's simple and easy to understand, also re-pumping topics will reduce a lot of time.
I did not understand "interval"? I thought it would be, post "YOUR_BUMPING_MESSAGE" in "YOUR_TOPIC_NUMBER", at "TIME(MIN_HOUR)", Delete "BUMPING_MESSAGE" in "YOUR_TOPIC_NUMBER", at "TIME(MIN_HOUR)."
The interval is just the frequency of requests (or how often the program checks threads to see if it needs to auto reply). Usually I would suggest setting this number fairly high as it uses less resources. The timing is all automatic through post time stamps and your local time.
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
TryNinja
Legendary
Offline
Activity: 2954
Merit: 7378
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 03, 2019, 01:42:47 PM |
|
Can an expert confirm whether this code is safe? I am currently learning Python so my knowledge is not that efficient.
Not an expert but I know some Python and the code is pretty small. It doesn’t do anything it shouldn’t do.
|
|
|
|
babo
Legendary
Online
Activity: 3724
Merit: 4391
The hacker spirit breaks any spell
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 03, 2019, 08:24:50 PM |
|
Code is safe, no backdoor or similar. I check it
|
|
|
|
Aero Blue (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 03, 2019, 09:08:47 PM |
|
Code is safe, no backdoor or similar. I check it
Thank you, Python is a fairly safe language to begin with, always good to be cautious though! The only security issue with this is the fact that your username and password are stored in plaintext, I plan to fix this soon by using console input to store encrypted versions of your original username, password, etc. As you knew, I am not a fan of userscript, because I don't run any kind of business here, and simply would prefer to use given options/ features from forum. However, I have one suggestion for OP, that is: the userscript should allow users to set up their prefered timegaps between pumps, rather than a default (or only by now) with 24 hours per one bump (with delete of past bump, because it help users don't violate forum rules.). This new option will help users to choose bumping their thread each three days or each 7 days.
Yea I will implement this in the next update, it's very simple to do. You could also do something similar by just changing the "interval" to a ridiculously high number, meaning the script would only check if a thread needed to be bumped every week, for example.
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17360
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2019, 12:36:22 PM |
|
here you go, I didn't run this all the way through, but it should work. Note that you will need to edit the USERNAME, PASSWORD, and CAPTCHA_CODE variables at the top of the script. (total python n00b here) This is what I did, following the suggestions for upgrades: sudo apt install python3-pip sudo apt-get update sudo apt install python3-pip pip3 install -r requirements.txt pip3 install --upgrade pip pip install -r requirements.txt And this is the error I'm stuck with now: ERROR: Could not find a version that satisfies the requirement requests-html==0.10.0 (from -r requirements.txt (line 1)) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6) ERROR: No matching distribution found for requests-html==0.10.0 (from -r requirements.txt (line 1))
|
|
|
|
TryNinja
Legendary
Offline
Activity: 2954
Merit: 7378
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2019, 01:15:43 PM |
|
This is what I did, following the suggestions for upgrades: pip3 install -r requirements.txt And this is the error I'm stuck with now: ERROR: Could not find a version that satisfies the requirement requests-html==0.10.0 (from -r requirements.txt (line 1)) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6) ERROR: No matching distribution found for requests-html==0.10.0 (from -r requirements.txt (line 1)) What's the output when you run pip3 install -r requirements.txt ? That's the only thing I ran and it worked.
|
|
|
|
|