1. 네이버 카페 댓글을 빨리 다는 기능

Overview

naver_autoprogram

기능 설명

  1. 네이버 카페 댓글을 빨리 다는 기능
  2. 네이버 카페 자동 출석 체크 기능

동작 방식

  1. 카페 댓글 기능
  • 기본 동작은 주기적인 스케쥴 동작으로 해당 카페 ID 와 특정 API 주소로 대상이 새글을 작성했는지 체크.
  • 해당 대상이 새글 등록 시 자동 댓글 등록 API 실행 ( 이때 등록되는 ID 는 'n_aut', 'n_ses' 등록된 네이버 로그인 고유 세션키로 등록 )
  1. 출석 체크 기능
  • 등록된 카페 ID 의 URL 로 30분 주기 새로고침을 통해 자동 출석횟수 증가 ( 여기서도 증가시킬 회원정보는 'n_aut', 'n_ses' 키의 네이버 ID 기준 )

사용 방법

필수 설치

  1. python 3.9.x ,pyqt5 , requests, selenium

설치 방법

  • python 생략 ( 개발환경에 맞게 설치 )
  • pip install pyqt5
  • pip install selenium
  • pip install requests

사용환경 구성하기

  • 해당 매크로에서 사용하는 크롬 드라이버는 95.0.4638.69(공식 빌드)(64비트) 버전을 기준으로 사용하고 있음
  • 하여 사용하려는 장비의 크롬 버전이 맞지 않다면 드라이버를 별도 다운받아야 함. ( 드라이버 다운 링크 : https://chromedriver.chromium.org/downloads )

디버그로 사용할 크롬을 기본 크롬으로 셋팅 하기

** 이는 소스상 " options.add_experimental_option("debuggerAddress", "127.0.0.1:9222") " 해당 부분 때문에 설정하는 것으로 해당 방법을 사용하지 않고 디버그 크롬을 사용해도 된다.

  1. 사용하고 있는 크롬 브라우저의 바로가기 새로 만들기
  2. 바로가기 우클릭-> 속성에서 "대상(T)" 부분을 아래와 같이 추가 해준다. ** 주의 : 하기 임시 크롬의 파일들 경로는 별도 생성해주는것이 좋음 ( 크롬 실행시 이력이나 기타 파일들이 많이생성됨.. )

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="D:\ChormeTemp"

  1. C:\Program Files (x86)\Google\Chrome\Application\chrome.exe : 기본 크롬 실행파일 위치
  2. --remote-debugging-port=9222 : 임시 리모트 포트 설정
  3. --user-data-dir="D:\ChormeTemp" : 임시 크롬의 파일 생성

네이버 세션 키 등록 하기 ( 추후 자동화 예정 )

해당 프로그램을 사용하기 위해선 로그인 정보가 필요함. ( 'n_aut', 'n_ses' 키 부분임 ) 확인 방법은

  1. 네이버에 로그인 후 "F12 개발자 모드" 로 network 부분 클릭

  2. 네이버 페이지 새로 고침

  3. www.naver.com 요청 부분 찾기

  4. Request 부분에 cookie 값 확인 예) cookie: NNB=4RDPYNED2VSGC; NM_THEME_EDIT=; ASID=dd95af010000017c722aeecb00000059; PM_MY_NOTICE_TOOLTIP=Y; NID_AUT=89U1PNkPF/CUF4+yrG1tWNMqXI0BZ01cuV8G3lDH+qxPva+GQAeZYSPdTLNVmRXo; NID_JKL=NWdfmrfIoC8d0s9Y2mX0cfwZb4b3V0lwiqzgMdzJd3Y=; NV_WETR_LAST_ACCESS_RGN_M="MDk1OTAxMDc="; NV_WETR_LOCATION_RGN_M="MDk1OTAxMDc="; nx_ssl=2; NM_THEME_LAST_FIXED=CARGAME; NDARK=N; page_uid=hieQksprvTossP5VaEZssssst70-218397; naver_usersession=H2HgQ53jgx48FmHFos52qA==; PM_CK_loc=dbb76f46a236a564f445f25761a317ebe251f1cd5c9026abb61a0f126b922b70; NID_SES=AAABrai6wGVKCOTNgbwnwBqqUeqssXctRUujAVJhlJNKPysfqfWHpCgYA0I4Y8kugodGW9aHn2RPPLjFMCd4HqGymvYID5lz2U7sui3SZgCcEYFAUKmAnx72tY4hl4CqY3epQ368iOaEU/7Dmd0CZnaXJCnvQCY6q4q5yarNUFdbCCCuE20dAW4WvbpgaffJbDibMkTeUpPD88spMzqMwGBLtQjZujAROUE3m56f1tddaEzhvdU3YwAMxP3XPF9uN2TPRwIYcGd29U/O2TgwPdNP2wZci3XaPTRLHefyDl0+ZliReM0oE69XMiZi6Maq4lfoifJkqv1SoF8lOyJdJdmCGl78Be5OfHbVQ+h79rWBV6hvyW8xpwbK3LHPUE6mC1HWYvvppCUNeig/BZ2PGZcf+iwsdJDGRdLDOBMRrDqy+jpEfA6AQRkrOTue2RpAz7OKN8Z09hqfV1U9dNUSqokNhMHoCoPtU2pmK0V3ulQZ/FtS+6/EecNDI7FDodSWBhMdjkyzgye6ZZck1eV1o2LwslG2Dk5vueJBsf3l2ys11CqUJPvOioq0W6DfjyoE5P5E2A==

  5. 위처럼 나온 쿠기에서 NID_AUT 값 , NID_SES 값 만 복사 해서 넣기. 예) NID_AUT = 89U1PNkPF/CUF4+yrG1tWNMqXI0BZ01cuV8G3lDH+qxPva+GQAeZYSPdTLNVmRXo; NID_SES = AAABrai6wGVKCOTNgbwnwBqqUeqssXctRUujAVJhlJNKPysfqfWHpCgYA0I4Y8kugodGW9aHn2RPPLjFMCd4HqGymvYID5lz2U7sui3SZgCcEYFAUKmAnx72tY4hl4CqY3epQ368iOaEU/7Dmd0CZnaXJCnvQCY6q4q5yarNUFdbCCCuE20dAW4WvbpgaffJbDibMkTeUpPD88spMzqMwGBLtQjZujAROUE3m56f1tddaEzhvdU3YwAMxP3XPF9uN2TPRwIYcGd29U/O2TgwPdNP2wZci3XaPTRLHefyDl0+ZliReM0oE69XMiZi6Maq4lfoifJkqv1SoF8lOyJdJdmCGl78Be5OfHbVQ+h79rWBV6hvyW8xpwbK3LHPUE6mC1HWYvvppCUNeig/BZ2PGZcf+iwsdJDGRdLDOBMRrDqy+jpEfA6AQRkrOTue2RpAz7OKN8Z09hqfV1U9dNUSqokNhMHoCoPtU2pmK0V3ulQZ/FtS+6/EecNDI7FDodSWBhMdjkyzgye6ZZck1eV1o2LwslG2Dk5vueJBsf3l2ys11CqUJPvOioq0W6DfjyoE5P5E2A==

실행하기

  1. 위에서 설정한 바로가기 버튼으로 리모트 디버그 크롬 실행.
  2. python main.py 실행 후 UI 에서 원하는 기능 버튼 클릭.
I³ Tracker for Essential Open Innovation Datasets

I³ Tracker for Essential Open Innovation Datasets This repository is set up to track, version, and contribute updates to the I³ Essential Open Innovat

1 Feb 08, 2022
Python Osmium Examples

Python Osmium Examples This is a set (currently of size 1) of examples showing practical usage of PyOsmium, a thin wrapper around the osmium library.

Martijn van Exel 1 Jan 26, 2022
Checks for Vaccine Availability at your district and notifies you using E-mail, subscribe to our website.

Vaccine Availability Notifier Project Description Checks for Vaccine Availability at your district and notifies you using E-mail every 10 mins. Kindly

Farhan Hai Khan 19 Jun 03, 2021
🏃 Python3 Solutions of All Problems in GKS 2022 (In Progress)

GoogleKickStart 2022 Python3 solutions of Google Kick Start 2022. Solution begins with * means it will get TLE in the largest data set. Total computat

kamyu 38 Dec 29, 2022
Open-source data observability for modern data teams

Use cases Monitor your data warehouse in minutes: Data anomalies monitoring as dbt tests Data lineage made simple, reliable, and automated dbt operati

889 Jan 01, 2023
To effectively detect the faulty wafers

wafer_fault_detection Aim of the project: In electronics, a wafer (also called a slice or substrate) is a thin slice of semiconductor, such as crystal

Arun Singh Babal 1 Nov 06, 2021
This is a repository built by the community for the community.

Nutshell Machine Learning Machines can see, hear and learn. Welcome to the future 🌍 The repository was built with a tree-like structure in mind, it c

Edem Gold 82 Nov 18, 2022
A Modern Fetch Tool for Linux!

Ufetch A Modern Fetch Tool for Linux! Programming Language: Python IDE: Visual Studio Code Developed by Avishek Dutta If you get any kind of problem,

Avishek Dutta 7 Dec 12, 2021
Run-Your-Own Firefox Sync Server

Run-Your-Own Firefox Sync Server This is an all-in-one package for running a self-hosted Firefox Sync server. It bundles the "tokenserver" project for

Mozilla Services 1.7k Dec 30, 2022
Python library for Minitel communication through serial port

Python library for Minitel communication through serial port

Noël 3 Aug 14, 2022
A pet facts python api

Pet-Facts-API A pet facts python api Project Links API :- https://pet-facts-api.vercel.app Docs :- https://fayasnoushad.github.io/Pet-Facts-API

Fayas Noushad 3 Dec 18, 2021
Just a simple python script to generate graphs of salt state requisites.

saltstatevis Just a simple python script to generate graphs of salt state requisites. Installation Requirements You will need to install graphviz to r

Dwayn Matthies 3 May 04, 2022
Apache Superset out of box version(Windows 64-bit)

superset_app Apache Superset out of box version (Windows 64bit) prepare job download 3 files python-3.8.10-embed-amd64.zip get-pip.py python_geohash‑0

Steven Lee 9 Oct 02, 2022
PaintPrint - This module can colorize any text in your terminal

PaintPrint This module can colorize any text in your terminal Author: tankalxat3

Alexander Podstrechnyy 2 Feb 17, 2022
Aevsploit İçin Destekde Bulun Papara: 1427113016

Aevsploit İçin Destekde Bulun Papara: 1427113016 Toolu Geliştirmek İçin Fikirlerinizi Bekliyorum Telegram

9 Jun 07, 2022
A module to prevent invites and joins to Matrix rooms by checking the involved server(s)' domain.

Synapse Domain Rule Checker A module to prevent invites and joins to Matrix rooms by checking the involved server(s)' domain. Installation From the vi

matrix.org 4 Oct 24, 2022
It's an .exe file that can notify your chia profit and warning message every time automatically.

chia-Notify-with-Line 警示程式 It's an .exe file that can notify your chia profit and warning message every time automatically. 這是我自行設計的小程式,有轉成.exe檔了,可以在沒

You,Yu 1 Oct 28, 2021
Kivy program for identification & rotation sensing of objects on multi-touch tables.

ObjectViz ObjectViz is a multitouch object detection solution, enabling you to create physical markers out of any reliable multitouch solution. It's e

TangibleDisplay 8 Apr 04, 2022
This is an implementation of NeuronJ work with python.

NeuronJ This is an implementation of NeuronJ work with python. NeuronJ is a plug-in for ImageJ that allows you to create and edit neurons masks. Image

Mohammad Mahdi Samei 3 Aug 28, 2022
A data driven app for bicycle hiring in London(UK)

bicycle_hiring_app_deployed A data driven app for bicycle hiring in London(UK). It predicts expected number of bicycle hire in London. It asks users t

Rajarshi Roy Raju 1 Dec 10, 2021