Bitcoin Forum
December 14, 2019, 06:09:51 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 [All]
  Print  
Author Topic: AutoReply v1.0  (Read 501 times)
Aero Blue
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 01, 2019, 06:29:40 PM
Last edit: August 03, 2019, 09:53:26 PM by Aero Blue
Merited by LoyceV (9), hugeblack (4), redsn0w (3), mprep (1), babo (1), actmyname (1), cabalism13 (1), tranthidung (1), hd49728 (1), Macadonian (1)
 #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

My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1576303791
Hero Member
*
Offline Offline

Posts: 1576303791

View Profile Personal Message (Offline)

Ignore
1576303791
Reply with quote  #2

1576303791
Report to moderator
1576303791
Hero Member
*
Offline Offline

Posts: 1576303791

View Profile Personal Message (Offline)

Ignore
1576303791
Reply with quote  #2

1576303791
Report to moderator
Lafu
Legendary
*
Offline Offline

Activity: 1358
Merit: 1251



View Profile
August 01, 2019, 06:34:03 PM
 #2

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 ?


███████████████████████████
█████████▀▄▄▄▄▄██▀▀████████
█████▀▄█▀▀▄▄▄▄▄▄▄▀▀▄▄▀█████
████ █▀▄███████████▄▀██████
███▄█ ███████▀ ██████ █ ███
██▀█ ███  ▀▀█  ▀██████ █ ██
██ █ ████▄▄      ▀▀▀██ █ ██
██ █ █████▌        ▄██ ████
███▄█ █████▄▄   ▄▄███ █▀███

████▀█▄▀█████▌  ▀██▀▄█ ████

█████▄▀▀▄▄▀▀▀▀   ▄▄█▀▄█████
████████▄██▀▀▀▀▀▀██████████

███████████████████████████
|▄█████████████████████████▄
███████████████████████████
████████▀▀▄▄▄▄▄▄▄▀▀████████
██████▀▄▀▀██░░░██▀▀▄▀██████
█████░██▄░░▄▄▄▄▄░░▄██░█████
████░█▀▀░▄██▄▄▄██▄░▀░█░████
████░█▄▄░█░█░░░█░█░▄▄█░████
████░██▀░▀██▀▀▀██▀░▀▀█░████
█████░█░▄▄░▀▀▀▀▀░▄▄░█░█████
██████▄▀██░░▄██░░██▀▄██████
████████▄▄▀▀▀▀▀▀▀▄▄████████
███████████████████████████
▀█████████████████████████▀
▄█████████████████████████▄
███████████████████▀█▀░█▀▄█
████████████████████░░░░░▀▄
████▄▄▄▀██████████▄▄░░░░░░▀
███████▀▄░▀▄░░▀▀███▄█░░░░░█
██████▀▄▄▄▀░░░░░░░▀█▄█░█▄█▄
█████▀░░░░░▀▀▀░░░▀▄▀███████
█████░░░░█░███░█░░█░███████
█████▄░░░▀░▀▀▀░▀░▄▀▄███████
██████▄░░░░▀▀▀░▄▄▀▄████████
████████▄▄░░░░▀▄▄██████████
███████████████████████████
▀█████████████████████████▀
▄█████████████████████████▄
█████████████▐░░░░█████████
█████████████▐▄▄▄▄█████████
██████▀█▀███▀▀▀███▀█▀██████
███████▄▀▄▀▀░█░▀▀▄▀▄███████
█████████▀▀█▀▀▀█▀▀█████████
████████░█▀▀▀█▀▀▀█░████████
███████░█▀▀█▀▀▀█▀▀█░███████
██████░█▀▀▀█░░░█▀▀▀█░██████
█████░█▀▀█▀▀▀█▀▀▀█▀▀█░█████
████░█▀█▀▀▀█▀▀▀█▀▀▀█▀█░████
███████████████████████████
▀█████████████████████████▀
▄█████████████████████████▄
███████████████████████████
███████████████████████████
█████████▀▀▀███████████████
█████▀▀░░▄▄░░░▄████████████
█████▀▄░▀░▄▄▀▀░░▀▄░▄▀██████
█████░░▀█▀░░▀▀░▄░█▄▄▄▄█████
█████▌▀▄▐▌░█░▀░▀░█░░░░█████
██████▄░░█░░░▀▀░▄▀░▀░██████
████████▄▐▌░▄▄█████████████
███████████████████████████
███████████████████████████
▀█████████████████████████▀
▄█████████████████████████▄
████████████████████▀▀▀░███
████████████████▄░░░░░░░███
█████████████████▀░░░░░▐███
███████████████▀░░░░▄▄░████
█████████████▀░░░░▄████████
██████████▀▀░░░▄███████████
███████▀░░░▄▄██████████████
███▀▀▄▄▄███████▀▀▀▀▀███████
███████▀▀▀▀▀█░░░░░░░░▀█████
██▀▀▀▀░░░░░▄░░░░░░░░░▄░░▀▀█
░░▄░░░░▀▄░░█▄░░░▄▀░▄█░░░░░░
▀▄░▀█▄▄███▄███▄██▄███▄▄▀░▄▀
|ROULETTE
MINES
TOWERS
DICE
CRASH
──── ─── ─
Aero Blue
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 01, 2019, 06:45:25 PM
 #3

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 Offline

Activity: 1694
Merit: 5329


ArtIst > AI rtst


View Profile WWW
August 01, 2019, 07:01:47 PM
 #4

Typo:
Code:
# 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
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 01, 2019, 07:32:23 PM
Merited by DarkStar_ (4)
 #5

Typo:
Code:
# 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:
Code:
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 Offline

Activity: 1694
Merit: 5329


ArtIst > AI rtst


View Profile WWW
August 01, 2019, 08:00:27 PM
 #6

Example:
Code:
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
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
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 01, 2019, 09:01:57 PM
 #7

Example:
Code:
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
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
Sr. Member
****
Offline Offline

Activity: 476
Merit: 394


Natural8.com - Making Poker Fun Again


View Profile
August 02, 2019, 07:37:22 AM
 #8

Here you go. Thank you for spending your time for this script.
Added newest userscript.
TopicDatewritten bySectionMerit
_________________________________________________________________________________________________________________________
AutoReply v1.001/4/2019Aero Bluebump thread & delete old bumps2+

8
♠  ────  BONUSES & PROMOTIONS  ────  ♠
$500kRUSH & CASH
MONTHLY
200%FIRST
DEPOSIT
$150kSHORT DECK
HOLD'EM
███
███
███
███
███
███
███
███

███

███

███

███

███
     MAKING POKER FUN AGAIN     
.
FACEBOOK   ● TWITTER
DOWNLOAD THE APP HERE
███
███
███
███
███
███
███
███

███

███

███

███

███
babo
Legendary
*
Offline Offline

Activity: 1988
Merit: 1314



View Profile WWW
August 02, 2019, 07:53:35 AM
 #9

i love opensource project and script for automate life Smiley
thank you

smartmixer.io▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
.Make your Cryptos untraceable!.
(( ███████ ((    TELEGRAM    )) ███████ ))
▄▄███████▄▄
▄███████▀███████▄
▄███▀▀▀ ▄▄▄ ▀▀▀███▄
▄███ ▄▀▀▀   ▀▀▀▄ ███▄
████ █  ▄   ▄█ █ ████
████▌▐▌ ▀█▄█▀ ▐▌▐████
▀████ ▀▄  ▀  ▄▀ ████▀
▀████▄ ▀▄▄▄▀ ▄████▀
▀█████▄▄ ▄▄█████▀
▀▀███████▀▀
.
NO LOGS
▄▄███████▄▄
▄██████▀▀▀██████▄
▄█████▀ ▄▄▄ ▀█████▄
▄██████ ▀   █ ██████▄
███████   █▀  ███████
████████▄ ▄ ▄████████
▀████▀         ▀████▀
▀███   ▄   ▄   ███▀
▀███████████████▀
▀▀███████▀▀
.
NO SIGN-UP
▄▄███████▄▄
▄███████████████▄
▄███████▀   ▀█████▄
▄████▀  ▀      █████▄
████     ▄▀▄  ▀ ▀████
███    ▄▀▄ ▄▀▄    ███
▀███▄▄  ▀█ █▀   ▄███▀
▀████████ ████████▀
▀███████████████▀
▀▀███████▀▀
.

70% COMSN
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MIX NOW!
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
hd49728
Sr. Member
****
Offline Offline

Activity: 476
Merit: 394


Natural8.com - Making Poker Fun Again


View Profile
August 02, 2019, 07:56:18 AM
 #10

i love opensource project and script for automate life Smiley
thank you
Scripts for reproducible things, you meant?

8
♠  ────  BONUSES & PROMOTIONS  ────  ♠
$500kRUSH & CASH
MONTHLY
200%FIRST
DEPOSIT
$150kSHORT DECK
HOLD'EM
███
███
███
███
███
███
███
███

███

███

███

███

███
     MAKING POKER FUN AGAIN     
.
FACEBOOK   ● TWITTER
DOWNLOAD THE APP HERE
███
███
███
███
███
███
███
███

███

███

███

███

███
babo
Legendary
*
Offline Offline

Activity: 1988
Merit: 1314



View Profile WWW
August 02, 2019, 07:57:53 AM
 #11


Scripts for reproducible things, you meant?

no, i mean, with opensource
- i can inspect code
- i can learn from code
- i can improve code


Smiley

smartmixer.io▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
.Make your Cryptos untraceable!.
(( ███████ ((    TELEGRAM    )) ███████ ))
▄▄███████▄▄
▄███████▀███████▄
▄███▀▀▀ ▄▄▄ ▀▀▀███▄
▄███ ▄▀▀▀   ▀▀▀▄ ███▄
████ █  ▄   ▄█ █ ████
████▌▐▌ ▀█▄█▀ ▐▌▐████
▀████ ▀▄  ▀  ▄▀ ████▀
▀████▄ ▀▄▄▄▀ ▄████▀
▀█████▄▄ ▄▄█████▀
▀▀███████▀▀
.
NO LOGS
▄▄███████▄▄
▄██████▀▀▀██████▄
▄█████▀ ▄▄▄ ▀█████▄
▄██████ ▀   █ ██████▄
███████   █▀  ███████
████████▄ ▄ ▄████████
▀████▀         ▀████▀
▀███   ▄   ▄   ███▀
▀███████████████▀
▀▀███████▀▀
.
NO SIGN-UP
▄▄███████▄▄
▄███████████████▄
▄███████▀   ▀█████▄
▄████▀  ▀      █████▄
████     ▄▀▄  ▀ ▀████
███    ▄▀▄ ▄▀▄    ███
▀███▄▄  ▀█ █▀   ▄███▀
▀████████ ████████▀
▀███████████████▀
▀▀███████▀▀
.

70% COMSN
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MIX NOW!
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
Aero Blue
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 02, 2019, 07:59:10 PM
 #12

~

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
Sr. Member
****
Offline Offline

Activity: 476
Merit: 394


Natural8.com - Making Poker Fun Again


View Profile
August 03, 2019, 03:10:48 AM
 #13

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.

8
♠  ────  BONUSES & PROMOTIONS  ────  ♠
$500kRUSH & CASH
MONTHLY
200%FIRST
DEPOSIT
$150kSHORT DECK
HOLD'EM
███
███
███
███
███
███
███
███

███

███

███

███

███
     MAKING POKER FUN AGAIN     
.
FACEBOOK   ● TWITTER
DOWNLOAD THE APP HERE
███
███
███
███
███
███
███
███

███

███

███

███

███
hugeblack
Hero Member
*****
Offline Offline

Activity: 896
Merit: 943


For ReNt


View Profile
August 03, 2019, 07:36:56 AM
 #14

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
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 03, 2019, 01:02:18 PM
 #15

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 Offline

Activity: 1218
Merit: 1692



View Profile
August 03, 2019, 01:42:47 PM
 #16

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
*
Offline Offline

Activity: 1988
Merit: 1314



View Profile WWW
August 03, 2019, 08:24:50 PM
 #17

Code is safe, no backdoor or similar.
I check it

smartmixer.io▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
.Make your Cryptos untraceable!.
(( ███████ ((    TELEGRAM    )) ███████ ))
▄▄███████▄▄
▄███████▀███████▄
▄███▀▀▀ ▄▄▄ ▀▀▀███▄
▄███ ▄▀▀▀   ▀▀▀▄ ███▄
████ █  ▄   ▄█ █ ████
████▌▐▌ ▀█▄█▀ ▐▌▐████
▀████ ▀▄  ▀  ▄▀ ████▀
▀████▄ ▀▄▄▄▀ ▄████▀
▀█████▄▄ ▄▄█████▀
▀▀███████▀▀
.
NO LOGS
▄▄███████▄▄
▄██████▀▀▀██████▄
▄█████▀ ▄▄▄ ▀█████▄
▄██████ ▀   █ ██████▄
███████   █▀  ███████
████████▄ ▄ ▄████████
▀████▀         ▀████▀
▀███   ▄   ▄   ███▀
▀███████████████▀
▀▀███████▀▀
.
NO SIGN-UP
▄▄███████▄▄
▄███████████████▄
▄███████▀   ▀█████▄
▄████▀  ▀      █████▄
████     ▄▀▄  ▀ ▀████
███    ▄▀▄ ▄▀▄    ███
▀███▄▄  ▀█ █▀   ▄███▀
▀████████ ████████▀
▀███████████████▀
▀▀███████▀▀
.

70% COMSN
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MIX NOW!
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
Aero Blue
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 03, 2019, 09:08:47 PM
 #18

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 Offline

Activity: 1694
Merit: 5329


ArtIst > AI rtst


View Profile WWW
August 05, 2019, 12:36:22 PM
 #19

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:
Code:
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:
Code:
  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 Offline

Activity: 1218
Merit: 1692



View Profile
August 05, 2019, 01:15:43 PM
 #20

This is what I did, following the suggestions for upgrades:
Code:
pip3 install -r requirements.txt

And this is the error I'm stuck with now:
Code:
 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.

LoyceV
Legendary
*
Offline Offline

Activity: 1694
Merit: 5329


ArtIst > AI rtst


View Profile WWW
August 05, 2019, 01:33:10 PM
 #21

What's the output when you run pip3 install -r requirements.txt ?
pip3:
Code:
pip3 install -r requirements.txt
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'

pip:
Code:
pip install -r requirements.txt
Collecting requests-html==0.10.0 (from -r requirements.txt (line 1))
  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))

Quote
That's the only thing I ran and it worked.
I'm trying to run it on my VP (Ubuntu 16.04.6 LTS).

TryNinja
Legendary
*
Offline Offline

Activity: 1218
Merit: 1692



View Profile
August 05, 2019, 01:36:47 PM
 #22

pip3:
Code:
pip3 install -r requirements.txt
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'
Looks like an Issue with pip3. It's running an error when you try to use it to download the requirements.

Try:
Code:
python3 -m pip install requests-html==0.10.0

bob123
Legendary
*
Offline Offline

Activity: 1106
Merit: 1580



View Profile WWW
August 05, 2019, 01:38:20 PM
 #23

What's the output when you run pip3 install -r requirements.txt ?
pip3:
Code:
pip3 install -r requirements.txt
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'

Did you upgrade pip3 outside of your distributions package manager (i.e. using pip3 --upgrade) ?
That's not really recommended.

If you however still want to use the up-do-date (and not supported by your OS) version of pip, try it with the following command:
Code:
python3 -m pip install -r requirements.txt

LoyceV
Legendary
*
Offline Offline

Activity: 1694
Merit: 5329


ArtIst > AI rtst


View Profile WWW
August 05, 2019, 01:56:05 PM
 #24

Try:
Code:
python3 -m pip install requests-html==0.10.0
Code:
python3 -m pip install requests-html==0.10.0
Collecting requests-html==0.10.0
  ERROR: Could not find a version that satisfies the requirement requests-html==0.10.0 (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

Did you upgrade pip3 outside of your distributions package manager (i.e. using pip3 --upgrade) ?
That's not really recommended.
That's what it told me to do, and indeed I did that.

Quote
If you however still want to use the up-do-date (and not supported by your OS) version of pip, try it with the following command:
Code:
python3 -m pip install -r requirements.txt
Code:
python3 -m pip install -r requirements.txt
Collecting requests-html==0.10.0 (from -r requirements.txt (line 1))
  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))

I didn't intend to do it outside my package manager though.

bob123
Legendary
*
Offline Offline

Activity: 1106
Merit: 1580



View Profile WWW
August 06, 2019, 07:22:29 AM
 #25

That's what it told me to do, and indeed I did that.

Usually it is not recommended to do that.

Such problems can appear when mixing distribution manager (apt-get) and other tools to update software (in this case pip itself).

Did it say that there is a new version and you should update or that it is mandatory ?


Anyway, i would try to uninstall it and reinstall the package-manager version of pip, and then try it again without updating pip:
Code:
sudo python3 -m pip uninstall pip && sudo apt-get install python3-pip --reinstall

Using python3 -m pip install -r requirements.txt should work afterwards.


By the way, which version of python3 and pip are you using?
Code:
python3 --version && pip3 --version

Aero Blue
Full Member
***
Offline Offline

Activity: 154
Merit: 117


View Profile
August 06, 2019, 02:42:10 PM
 #26

That's what it told me to do, and indeed I did that.

Usually it is not recommended to do that.

Such problems can appear when mixing distribution manager (apt-get) and other tools to update software (in this case pip itself).

Did it say that there is a new version and you should update or that it is mandatory ?


Anyway, i would try to uninstall it and reinstall the package-manager version of pip, and then try it again without updating pip:
Code:
sudo python3 -m pip uninstall pip && sudo apt-get install python3-pip --reinstall

Using python3 -m pip install -r requirements.txt should work afterwards.


By the way, which version of python3 and pip are you using?
Code:
python3 --version && pip3 --version

Do you have Python 3.6? I completely forgot it was only available for that specific version of Python

My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
LoyceV
Legendary
*
Offline Offline

Activity: 1694
Merit: 5329


ArtIst > AI rtst


View Profile WWW
August 10, 2019, 11:44:46 AM
Last edit: August 10, 2019, 11:56:43 AM by LoyceV
 #27

Anyway, i would try to uninstall it and reinstall the package-manager version of pip, and then try it again without updating pip:
Code:
sudo python3 -m pip uninstall pip && sudo apt-get install python3-pip --reinstall

Using python3 -m pip install -r requirements.txt should work afterwards.
It fails here:
Code:
Collecting websockets (from pyppeteer>=0.0.14->requests-html==0.10.0->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/79/78/17e97a159dc55308b1468a638c7267f19765281f6205ec9c15253c154022/websockets-8.0.2.tar.gz (57kB)
    100% |################################| 61kB 12.8MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-9fhjti3j/websockets/setup.py", line 27, in <module>
        raise Exception("websockets requires Python >= 3.6.")
    Exception: websockets requires Python >= 3.6.
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9fhjti3j/websockets/
You are using pip version 8.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Quote
By the way, which version of python3 and pip are you using?
Code:
python3 --version && pip3 --version
Code:
Python 3.5.2
pip 8.1.1 from /usr/lib/python3/dist-packages (python 3.5)

Do you have Python 3.6? I completely forgot it was only available for that specific version of Python
My Python version older Sad

I give up for now, I've been busy fixing other stuff, but this VPS turns out to be too unstable for any serious use so I'll continue this when I have a better VPS.

Sohyun Park
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
August 22, 2019, 09:50:19 AM
 #28

I might be misunderstanding all of it but have a query in mind. The forum is for learning from others posts and comment and contributing if we can right? If we make a bot post some content then how can we get all of the knowledge?

bob123
Legendary
*
Offline Offline

Activity: 1106
Merit: 1580



View Profile WWW
August 22, 2019, 02:23:26 PM
 #29

I might be misunderstanding all of it but have a query in mind. The forum is for learning from others posts and comment and contributing if we can right? If we make a bot post some content then how can we get all of the knowledge?

"AutoReply" might be not the best suited name.

What the script actually does is to check the threads you provide and bump them if the requirements allow it (i.e. 24 hours have passed).
This is not meant to be used to participate in discussions or to spam random topics, but to bump your own topics (e.g. offering service) for more visibility while not breaking the forum rules and having the least amount of work.

It is more an "AutoBump" script, than "AutoReply".

Sohyun Park
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
August 23, 2019, 06:30:56 AM
 #30

I might be misunderstanding all of it but have a query in mind. The forum is for learning from others posts and comment and contributing if we can right? If we make a bot post some content then how can we get all of the knowledge?

"AutoReply" might be not the best suited name.

What the script actually does is to check the threads you provide and bump them if the requirements allow it (i.e. 24 hours have passed).
This is not meant to be used to participate in discussions or to spam random topics, but to bump your own topics (e.g. offering service) for more visibility while not breaking the forum rules and having the least amount of work.

It is more an "AutoBump" script, than "AutoReply".

Thanks for the informative reply. Smiley Got it.

Pages: 1 2 [All]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!