create account

Tagbot - New version with tag blacklist support by emrebeyler

View this thread on: hive.blogpeakd.comecency.com
· @emrebeyler · (edited)
$25.04
Tagbot - New version with tag blacklist support
In case you didn't heart about the tagbot

> Tagbot is an upvote bot, upvotes posts with a specific tag based on pre-defined parameters. It has a couple use cases, for example:

> Voting for photography tag to support photographers, voting for local tags (tr, deutsch, etc.) to support local content creators, voting for the "utopian-io" tag to support developers
etc. - [See the announcement post](https://github.com/emre/communitybot)

But... Some users spamming selected tag(s) with dmania posts. That's why I brought a tag blacklist option.

With the changeset [22fc606](https://github.com/emre/tagbot/commit/22fc606f4cc2fc8a6d03945b1dbe874720ec074c) it's possible to blacklist tags.

#### Upgrade to 0.0.4
***
```
$ (sudo) pip install steem_tagbot --upgrade
```

This command will upgrade the tagbot. After that, if you want to use that feature add a new field to the your config.json.

```
"TAG_BLACKLIST": ["dmania"]
```

And you're all set. Next time the bot runs it will skip the posts tagged with dmania. If you want to blacklist more tags, just add the desired tags to the ```TAG_BLACKLIST```.

In the next update, I will also add a ```minimum_content_length``` settings which may help with skipping short-form content *optionally*.

<img src="https://steemitimages.com/DQmQzWStZoPgpSWMdSDbtptYaDAp7MYGSoqDSfQwQUKZ4nD/Screen%20Shot%202018-03-20%20at%2010.58.47%20AM.png">
***

I know a couple of communities use tagbot, feel free to shoot feature ideas to expand this project. Also don't forget to [vote for me as a witness](https://steemconnect.com/sign/account-witness-vote?witness=emrebeyler&approve=1) so I can allocate more time to these projects.

👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 82 others
properties (23)
authoremrebeyler
permlinktagbot-new-version-with-tag-blacklist-support
categorytagbot
json_metadata{"community":"busy","app":"busy/2.4.0","format":"markdown","links":["https://github.com/emre/communitybot","https://github.com/emre/tagbot/commit/22fc606f4cc2fc8a6d03945b1dbe874720ec074c","https://steemconnect.com/sign/account-witness-vote?witness=emrebeyler&amp;approve=1"],"image":["https://steemitimages.com/0x0/https://steemitimages.com/DQmQzWStZoPgpSWMdSDbtptYaDAp7MYGSoqDSfQwQUKZ4nD/Screen%20Shot%202018-03-20%20at%2010.58.47%20AM.png"],"tags":["tagbot","python","steem-python","busy","sndbox"]}
created2018-03-20 16:42:27
last_update2018-03-20 16:45:48
depth0
children6
last_payout2018-03-27 16:42:27
cashout_time1969-12-31 23:59:59
total_payout_value21.151 HBD
curator_payout_value3.893 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,666
author_reputation448,528,959,341,273
root_title"Tagbot - New version with tag blacklist support"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,580,492
net_rshares7,695,762,201,879
author_curate_reward""
vote details (146)
@iskandar0206 ·
oc gratitude @emrebeyler brother, who has taken your time to give understanding to all steemians, we will continue to work well, in order to get good results, but if we are wrong, please forgive us because we lack experience and knowledge.
properties (22)
authoriskandar0206
permlinkre-emrebeyler-2018321t0637876z
categorytagbot
json_metadata{"tags":["tagbot","python","steem-python","busy","sndbox"],"app":"esteem/1.5.1","format":"markdown+html","community":"esteem"}
created2018-03-20 17:07:09
last_update2018-03-20 17:07:09
depth1
children3
last_payout2018-03-27 17:07:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length239
author_reputation112,081,695,290
root_title"Tagbot - New version with tag blacklist support"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,584,442
net_rshares0
@emrebeyler ·
what the hell did I just read
properties (22)
authoremrebeyler
permlinkre-iskandar0206-re-emrebeyler-2018321t0637876z-20180320t172858794z
categorytagbot
json_metadata{"tags":["tagbot"],"app":"steemit/0.1"}
created2018-03-20 17:29:00
last_update2018-03-20 17:29:00
depth2
children2
last_payout2018-03-27 17:29:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length29
author_reputation448,528,959,341,273
root_title"Tagbot - New version with tag blacklist support"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,587,929
net_rshares0
@danielsaori ·
Sounds like someone drunk 😵 or high on steem. 😀

https://steemitimages.com/DQmd6nvBSmyWrpvxWdeyUJs2TNguGuUwpnphDoSYbrpxoWH/6BF3B515-45FF-406F-BF79-9844F04DAC13.png
properties (22)
authordanielsaori
permlinkre-emrebeyler-re-iskandar0206-re-emrebeyler-2018321t0637876z-20180321t180628065z
categorytagbot
json_metadata{"tags":["tagbot"],"image":["https://steemitimages.com/DQmd6nvBSmyWrpvxWdeyUJs2TNguGuUwpnphDoSYbrpxoWH/6BF3B515-45FF-406F-BF79-9844F04DAC13.png"],"app":"steemit/0.1"}
created2018-03-21 18:06:27
last_update2018-03-21 18:06:27
depth3
children0
last_payout2018-03-28 18:06:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length163
author_reputation19,949,800,673,455
root_title"Tagbot - New version with tag blacklist support"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,793,065
net_rshares0
@jordanlove ·
$0.09
Haha his comment has just killed me...
👍  ,
properties (23)
authorjordanlove
permlinkre-emrebeyler-re-iskandar0206-re-emrebeyler-2018321t0637876z-20180320t190838125z
categorytagbot
json_metadata{"tags":["tagbot"],"app":"steemit/0.1"}
created2018-03-20 19:08:51
last_update2018-03-20 19:08:51
depth3
children0
last_payout2018-03-27 19:08:51
cashout_time1969-12-31 23:59:59
total_payout_value0.080 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation102,771,819,545
root_title"Tagbot - New version with tag blacklist support"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,603,107
net_rshares28,099,926,560
author_curate_reward""
vote details (2)
@muratkbesiroglu ·
Tam da python'da nasıl yazarım, hazırı var mıdır diye düşündüğüm kodu yazmışsınız. Düşündüğümden daha karmaşıkmış kodu, iyi ki kalkışmamışım. Amacım tr tagıbda her paylaşım yapana min düzeyde de olsa begeni vermek. Bir kişiye günde bir kez ve min karakter sınırı biçiminde kısıtlar düşünmüştüm. Daha da iyisi 30. dakikada kaç beğeni aldıysa o beğeni sayısıyla orantılı bir yüzdede oy vermek.
properties (22)
authormuratkbesiroglu
permlinkre-emrebeyler-tagbot-new-version-with-tag-blacklist-support-20180321t110546900z
categorytagbot
json_metadata{"tags":["tagbot"],"app":"steemit/0.1"}
created2018-03-21 11:03:24
last_update2018-03-21 11:03:24
depth1
children1
last_payout2018-03-28 11:03:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length391
author_reputation965,812,973,271,119
root_title"Tagbot - New version with tag blacklist support"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,723,201
net_rshares0
@emrebeyler ·
Günde 1 kez kontrolü için verilen oyları loglamak gerekiyor. (işin içine database giriyor) dolayısıyla pek o topa girmek istemiyorum.

karakter sınırı aklımda var - bir sonraki update ile inşallah. :)
properties (22)
authoremrebeyler
permlinkre-muratkbesiroglu-re-emrebeyler-tagbot-new-version-with-tag-blacklist-support-20180321t115819579z
categorytagbot
json_metadata{"tags":["tagbot"],"app":"steemit/0.1"}
created2018-03-21 11:58:21
last_update2018-03-21 11:58:21
depth2
children0
last_payout2018-03-28 11:58:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length200
author_reputation448,528,959,341,273
root_title"Tagbot - New version with tag blacklist support"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,731,291
net_rshares0