mirror of
https://github.com/cupcakearmy/docker-instabot.git
synced 2024-12-21 23:16:23 +00:00
Moved to src folder
This commit is contained in:
parent
b0e45eb333
commit
680d164724
33
app.py
33
app.py
@ -1,33 +0,0 @@
|
|||||||
import os
|
|
||||||
import time
|
|
||||||
|
|
||||||
from src import InstaBot
|
|
||||||
|
|
||||||
bot = InstaBot(
|
|
||||||
login="myusername",
|
|
||||||
password="mypass",
|
|
||||||
like_per_day=1000,
|
|
||||||
comments_per_day=5,
|
|
||||||
tag_list=['food', 'weed', 'smoke', 'smoking', 'party',
|
|
||||||
'health', 'food', 'fit', 'wasted', 'fml', 'drugs', 'drug'],
|
|
||||||
max_like_for_one_tag=50,
|
|
||||||
follow_per_day=300,
|
|
||||||
follow_time=24*60*60,
|
|
||||||
unfollow_per_day=280,
|
|
||||||
unfollow_break_min=15,
|
|
||||||
unfollow_break_max=30,
|
|
||||||
log_mod=0,
|
|
||||||
comment_list=[["sweet", "nice"],
|
|
||||||
["..", "...", "!!", "👌", "💪"]],
|
|
||||||
unwanted_username_list=[
|
|
||||||
'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog',
|
|
||||||
'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop',
|
|
||||||
'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos',
|
|
||||||
'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet',
|
|
||||||
'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera',
|
|
||||||
'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved',
|
|
||||||
'follow', 'follower', 'gain', '.id', '_id', 'bags'
|
|
||||||
])
|
|
||||||
|
|
||||||
while True:
|
|
||||||
bot.new_auto_mod()
|
|
11
bot/app.py
Normal file
11
bot/app.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import os
|
||||||
|
import time
|
||||||
|
import json
|
||||||
|
|
||||||
|
from src import InstaBot
|
||||||
|
|
||||||
|
data = json.load(open('config.json'))
|
||||||
|
bot = InstaBot(**data)
|
||||||
|
|
||||||
|
while True:
|
||||||
|
bot.new_auto_mod()
|
@ -6,4 +6,6 @@ RUN apk add --no-cache git
|
|||||||
RUN git clone https://github.com/instabot-py/instabot.py.git .
|
RUN git clone https://github.com/instabot-py/instabot.py.git .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY ./app.py .
|
||||||
|
|
||||||
CMD [ "python", "-u", "./app.py" ]
|
CMD [ "python", "-u", "./app.py" ]
|
Loading…
Reference in New Issue
Block a user