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
Reddit cli to slack at work

Reddit CLI (v1.0) Introduction Why Reddit CLI? Coworker who sees me looking at something in a browser: "Glad you're not busy; I need you to do this, t

3 Jun 22, 2021
A modern,feature-rich, and async ready API wrapper for Discord written in Python

discord.io A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using asyn

Vincent 18 Jan 02, 2023
"zpool iostats" for humans; find the slow parts of your ZFS pool

Getting the gist of zfs statistics vpool-demo.mp4 The ZFS command "zpool iostat" provides a histogram listing of how often it takes to do things in pa

Chad 57 Oct 24, 2022
The programm for collecting data from Tinkoff API and building Excel table.

tinkproject The program for portfolio analysis via Tinkoff API Hello! This is my first project, please, don't judge me. This project was developed for

214 Dec 02, 2022
A simple, multipurpose Discord bot.

EpicBot 🏅 A simple, multipurpose Discord bot. • Info EpicBot is a multipurpose Discord bot that was designed to make your Discord life easier and coo

Nirlep_5252_ 130 Dec 29, 2022
Crypto trading bot that detects surges in the bitcoin price and executes trades.

The bot will be trading Bitcoin automatically if the price has increased by more than 3% in the last 10 minutes. We will have a stop loss of 5% and t

164 Oct 20, 2022
Automate TikTok follower bot, like bot, share bot, view bot and more using selenium

Zefoy TikTok Automator Automate TikTok follower bot, like bot, share bot, view bot and more using selenium. Click here to report bugs. Usage Download

555 Dec 30, 2022
A head unit UI designed to replace the RTx/SMEG/RNEG/NG4/RCC/NAC

HeadUnit UI (Come discuss about it on our Discord!) Intro This is the UI part of a headunit project from OpenLeo, based on python and kivy, it looks l

OpenLeo 6 Nov 23, 2022
Images to PDF Telegram Bot

ilovepdf Convert Images to PDF Bot This bot will helps you to create pdf's from your images [without leaving telegram] 😉 By Default: your pdf fil

✰Naͥbiͣlͫ A Navab✰ 116 Dec 29, 2022
A script to find the people whom you follow, but they don't follow you back

insta-non-followers A script to find the people whom you follow, but they don't follow you back Dependencies: python3 libraries - instaloader, getpass

Ritvik 5 Jul 03, 2022
WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate.

WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate. You can send messages to the server and read messages, making it useful for cross-chat programs.

Waton 1 Nov 22, 2021
Total time of all YouTube videos in a playlist.

Youtube Playlist Total Times Total time of all YouTube videos in a playlist. How to Use Download chromedriver depending on your os and chrome version

Mohammad Dori 3 Jul 15, 2022
Collaboration with Microsoft, AWS, Google, and ETHZürich Analytics Club (2022 Datathon Project)

DATATHON_ Collaboration with Microsoft, AWS, Google, and ETHZürich Analytics Club (2022 Datathon Project) Datathon Original Challenge SAV DataDays Rei

esthi 34 Nov 10, 2022
AnyAPI is a library that helps you to write any API wrapper with ease and in pythonic way.

AnyAPI AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way. Features Have better looking code using dynamic met

Fatih Kilic 129 Sep 20, 2022
Script to post multiple status(posts) on twitter

Script to post multiple status on twitter (i.e. TWITTER STORM) This program can post upto maximum limit of twitter(around 300 tweets) within seconds.

Sandeep Kumar 4 Sep 09, 2021
NFT Generator - A NFT Generator created using Python

NFT_Generator v1 An NFT Generator created using Python. This NFT Generation tool

3 Dec 02, 2022
Activate exitlag trial accounts

Exitlag Account Activator Activate exitlag trial accounts (unlimited trial accounts) ⭐ If you want to support me, follow me on github and star the pro

Benjamin 173 Nov 10, 2022
Trading bot - A Trading bot With Python

Trading_bot Trading bot intended for 1) Tracking current prices of tokens 2) Set

Tymur Kotkov 29 Dec 01, 2022
Telephus is a connection pooled, low-level client API for Cassandra in Twisted python.

Telephus Son of Heracles who loved Cassandra. He went a little crazy, at one point. One might almost say he was twisted. Description Telephus is a con

Brandon Williams 93 Apr 29, 2021
Baota-docker - Deploying baota panel via docker

baota-docker Deploying baota panel via docker. 通过docker一键部署宝塔面板。 一、前言 好像很多人对这个感兴

Mr. Cat 15 Dec 12, 2022