Instagram bot for promoting ROKA trainee soldier(just like me)'s consolation letters.

Overview

Instagram_bot

(필자를 포함한) 모든 대한민국 훈련병들을 위한 인스타그램 인편지기입니다.

Instagram bot for promoting ROKA trainee soldier(just like me)'s consolation letters.

들어가기 (Getting Started)

이 레포지토리는 윈도우 환경에 맞춰 제작되었습니다. 윈도우 작업 스케줄러에서 script.bat 파일을 실행시키는 방식으로 제작되었다는 점을 알립니다.

이 레포지토리는 설치 후 바로 사용할 수 없습니다! userInfo.py에서 인스타 ID/PW, 더캠프 ID/PW를 직접 설정해주셔야 합니다!

(인스타에 게시할 사진(soldier_info.jpg) 및 문구(posting_texts.txt)도 마찬가지입니다!)

또한, main.py에서는 게시물 사진의 절대경로를, script.bat에서는 작업폴더의 경로를 올바르게 수정해주셔야 합니다 :)

#userInfo.py
class User:
    def __init__(self):
        self.__insta_email = "[email protected]"
        self.__insta_id = "[email protected]"
        self.__insta_password = "1234"
        self.__camp_id = "[email protected]"
        self.__camp_password = "1234"
#main.py
# 인스타에 게시할 사진 경로(절대경로)를 작성해주세요!
send_keys('C:\\Users\\ljjun\\Instagram_bot\\soldier_info.jpg')
rem script.bat
@echo off

cd C:\Users\ljjun\Instagram_bot

더캠프(THE CAMP) 설정

훈련병의 인편 카페 개설 여부를 확인하기 위해, 더캠프에서 몇 가지 사항을 체크 및 설정해주셔야 합니다.

  1. 보고싶은 군인 추가

    • 더캠프에 로그인한 후, 보고싶은 군인에 훈련병의 인적사항을 입력하여 추가해주시면 됩니다!
  2. fn_cafeCreateCheck() 검색

    • 보고싶은 군인을 등록한 후, 개발자 모드(f12)에 진입하여 훈련병의 카페 개설 여부를 확인하는 fn_cafeCreateCheck()함수 및 parameter를 확인한 후, main.py에 올바르게 변경해주시면 됩니다!

#main.py
# "fn_cafeCreateCheck('{any}','이름','입영일자','생년월일','{any}','{any}','{any}')" 형식의 정보를 직접! 더캠프 홈페이지에서 찾으셔야 합니다...!!
FINDING_CAFE_SCRIPT = "fn_cafeCreateCheck('', '이름', '입영일자', '생년월일', '', '', '')"

준비사항 (Prerequisites)

  • 훈련병의 인스타 ID/PW, 더캠프 ID/PW
  • 훈련병의 인스타에 게시할 사진 및 문구
  • python3
  • selenium
  • pywinauto
Owner
Lee, Jongjun
Sonst noch etwas?
Lee, Jongjun
Bot Maker For Discord - Python Edition

BMFD-PE Bot Maker For Discord - Python Edition BMFD-PE is a new version of BMFD write in Python The Version of BMFD-PE is : alpha0.1 Longer support :

Téo 2 Dec 22, 2021
PancakeTrade - Limit orders and more for PancakeSwap on Binance Smart Chain

PancakeTrade helps you create limit orders and more for your BEP-20 tokens that swap against BNB on PancakeSwap. The bot is controlled by Telegram so you can interact from anywhere.

Valentin Bersier 187 Dec 20, 2022
This is a Telegram video compress bot repo. By Binary Tech💫

This is a Telegram Video Compress Bot. Prouduct By Binary Tech 💫 Features Compresse videos and generate screenshots too.You can set custom video name

silentz lk 7 Mar 03, 2022
Drover is a command-line utility for deploying Python packages to Lambda functions.

drover drover: a command-line utility for deploying Python packages to Lambda functions. Background This utility aims to provide a simple, repeatable,

Jeffrey Wilges 4 May 19, 2021
Using multiple API sources, create an app that allows users to filter through random locations based on their temperature range choices.

World_weather_analysis Overview Using multiple API sources, create an app that allows users to filter through random locations based on their temperat

Jason Boyer 2 Sep 16, 2022
A GitHub Actions repo for tracking the dummies sending free money to Alex Jones + co.

A GitHub Actions repo for tracking the dummies sending free money to Alex Jones + co.

Egarok 2 Jul 20, 2022
Telegram 聊天機器人,追蹤momo降價、重新上架

簡介 price-tracker-bot is a telegram bot that can trace the price on momoshop. 功能 降價通知 上架通知 收藏商品 清空已收藏商品 顯示目前已收藏商品 Demo Bot Telegram bot search @momo_pr

92 Dec 28, 2022
Zero2 Discord bot is written with Discord.py using Python.

Zero2 Discord bot is written with Discord.py using Python.

Siva Avanish 4 Nov 08, 2021
Dynamic Twitter banner, to show off your spotify status. Banner updated every 5 minutes.

Spotify Twitter Banner Dynamic Twitter banner, to show off your spotify status. Banner updated every 5 minutes. Installation and Usage Install the dep

Sunrit Jana 23 Jan 05, 2023
Cool Discord bot for you

BountyBot Баунти – современный бот созданный с целью сделать ваш сервер лучше! В кратце В нем присутствует множество основных и интересных функций, та

Leestarb Original 1 Nov 22, 2021
5 Oct 19, 2022
Protect Discord server invite link

DiscordOauth2Join Protect discord server invite links! Setup I will not help setting up the discord application, but just python. First, install the r

ZEEE 4 Aug 12, 2021
A simple script & container to pull COVID data from covidlive.com.au and post a summary to a slack channel

CovidLive AU Summary Slackbot This bot is a very simple slackbot that pulls data, summarises and posts up to date AU COVID stats to a provided slack c

James 3 Dec 18, 2021
A stable telegram bot to get restricted messages with custom thumbnail support

Save restricted content Bot A stable telegram bot to get restricted messages with custom thumbnail support

DEVANSH 3 Feb 09, 2022
Chatbot with python code!

Chatbot Python Chatbot with python! How to Run Installation requirements. pip install -r requirements.txt Sample Chatbot The required files must be d

Mohammad Dori 3 Jul 15, 2022
A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations)

YTPlaylistDL 📛 A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations) 🎯 Follow me and sta

Anjana Madu 43 Dec 28, 2022
Azure Neural Speech Service TTS

Written in Python using the Azure Speech SDK. App.py provides an easy way to create an Text-To-Speech request to Azure Speech and download the wav file. Azure Neural Voices Text-To-Speech enables flu

Rodney 4 Dec 14, 2022
Previewer for VapourSynth scripts.

Standalone previewer for VapourSynth scripts Fork of Endilll's vapoursynth-preview (not maintained anymore) This program is meant to be paired with a

Irrational Encoding Wizardry 26 Dec 16, 2022
Fairstructure - Structure your data in a FAIR way using google sheets or TSVs

Fairstructure - Structure your data in a FAIR way using google sheets or TSVs. These are then converted to LinkML, and from there other formats

Linked data Modeling Language 23 Dec 01, 2022