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
The most expensive version of Conway's Game of Life - running on the Ethereum Blockchain

GameOfLife The most expensive implementation of Conway's Game of Life ever - over $2,000 per step! (Probably the slowest too!) Conway's Game of Life r

75 Nov 26, 2022
Python3 based bittrex rest api wrapper

bittrex-rest-api This open source project was created to give an understanding of the Bittrex Rest API v1.1/v3.0 in pearl language. The sample file sh

4 Nov 15, 2022
Using twitter lists as your feed

Twitlists A while ago, Twitter changed their timeline to be algorithmically-fed rather than a simple reverse-chronological feed. In particular, they p

Peyton Walters 5 Nov 21, 2022
Script to get a notification when a product, on Amazon Warehouse, is available within a target price

Amazon_Warehouse_Scraping This script aims to scrape Amazon Warehouse and send an email back if there are products whose price matches with the target

2 Oct 25, 2021
This project, search all entities related to A2P in twilio

Mirror A2P Twilio This project, search all entities related to A2P in twilio (phone numbers, messaging services, campaign, A2P brand information and P

Iván Cárdenas 2 Nov 03, 2022
Youtube Music Playlist Organizer

Youtube Music Playlist Organizer, a simple Python application that uses ytmusicapi to help user edit their playlists and organize in other playlists.

Bedir Tapkan 1 Oct 24, 2021
Bavera is an extensive and extendable Python 3.x library for the Discord API

Bavera is an extensive and extendable Python 3.x library for the Discord API. Bavera boasts the following major features: Expressive, functiona

Bavera 1 Nov 17, 2021
use python script to fix vmp dump api in ida

FixVmpDump use python script to fix vmp dump api in ida. support x86 and x64. details in my blog: https://blog.csdn.net/yan_star/article/details/11279

97 Nov 02, 2022
Library written in Python that wraps Halo Infinite API.

haloinfinite Library written in Python that wraps Halo Infinite API. Before start It's unofficial, reverse-engineered, neither stable nor production r

Miguel Ferrer 4 Dec 28, 2022
1 Feb 18, 2022
Heroku app to explore boardgame data

A Dashboard for the Board Game Geeks among us Link to Application As many Board Game Geeks like myself track the scores of board game matches I decide

Maarten Grootendorst 20 Nov 23, 2022
A minimalist file manager for those who want to use Linux mobile devices.

Portfolio A minimalist file manager for those who want to use Linux mobile devices. Usage Tap to activate and press to select, to browse, open, copy,

Martin Abente Lahaye 71 Nov 18, 2022
Decrypt PSSE layer of PSM Games (on PC)

psse-decrypt Decrypt PSSE layer of PSM Games (on PC) Works on Unity and PSM games, and meets all requirements of: https://github.com/vita-nuova/bounti

Bluzume 32 Oct 11, 2022
Análise de dados abertos do programa Taxigov.

Análise de dados do Taxigov Este repositório contém os cadernos Jupyter usados no projeto de análise de dados do Taxigov. Conjunto de dados O conjunto

Augusto Herrmann 1 Jan 10, 2022
A python tool to Automate Whatsapp through Whatsapp web

This python tool is used to Automate Whatsapp through Whatsapp web. We can add number of contacts whom we want to send text messages on perticular time

5 Jul 21, 2022
Easy to use Google Pub/Sub

Relé makes integration with Google PubSub straightforward and easy. Motivation and Features The Publish-Subscribe pattern and specifically the Google

Mercadona 188 Jan 06, 2023
Upload on Doodstream by Url, File and also by direct forward post from other channel...

Upload on Doodstream by Url, File and also by direct forward post from other channel...

Pʀᴇᴅᴀᴛᴏʀ 8 Aug 10, 2022
Moderation and Utility Discord bot.

Qrista An advanced Moderation and Utility Discord bot. Features Uses Hikari and Lightbulb as a command handler Advance Logging & Whole new enviroment

Blaze Camp 2 Jan 11, 2022
A bot can play all variants, but standard are abit weak, so if you need strongest you can change fsf instead of stockfish_14_Dev

MAINTAINERS Drdisrespect1 and drrespectable lichess-bot Engine communication code taken from https://github.com/ShailChoksi/lichess-bot by ShailChoksi

RPNS Nimsilu 1 Dec 12, 2021
Texting service to receive current air quality conditions and maps, powered by AirNow, Twilio, and AWS

The Air Quality Bot is generally available by texting a zip code (and optionally the word "map") to (415) 212-4229. The bot will respond with the late

Alex Laird 8 Oct 16, 2022