Moved to src folder

This commit is contained in:
nicco 2018-04-11 15:19:44 +02:00
parent b0e45eb333
commit 680d164724
3 changed files with 13 additions and 33 deletions

33
app.py
View File

@ -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
View 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()

View File

@ -6,4 +6,6 @@ RUN apk add --no-cache git
RUN git clone https://github.com/instabot-py/instabot.py.git .
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app.py .
CMD [ "python", "-u", "./app.py" ]