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 에서 원하는 기능 버튼 클릭.
Prototype application for GCM bias-correction and downscaling

dodola Prototype application for GCM bias-correction and downscaling This is an unstable prototype. This is under heavy development. Features Nothing!

Climate Impact Lab 9 Dec 27, 2022
Make discord server By Coding!

Discord Server Maker Make discord server by Coding! FAQ How can i get role permissons? Open discord with chrome developer tool, go to network and clic

1 Jul 17, 2022
You can change your mac address with this program.

1 - Warning! You can use this program with Kali Linux. Therefore if you don't install the Kali Linux. Firstly you need to install Kali Linux. 2 - Star

Mustafa Bahadır Doğrusöz 1 Jun 10, 2022
Localization and multifractal properties of the long-range Kitaev chain in the presence of an Aubry-André-Harper modulation

This repository contains the code for the paper Localization and multifractal properties of the long-range Kitaev chain in the presence of an Aubry-André-Harper modulation.

Joana Fraxanet 2 Apr 17, 2022
GCP Scripts and API Client Toolss

GCP Scripts and API Client Toolss Script Authentication The scripts and CLI assume GCP Application Default Credentials are set. Credentials can be set

3 Feb 21, 2022
A simple python script that print the Mandelbrot set for every power of the formal formula.

Python Mandelbrot A simple python script that print the Mandelbrot set for every power of the formal formula.

Paride Giunta 2 Apr 15, 2022
PhD document for navlab

PhD_document_for_navlab The project contains the relative software documents which I developped or used during my PhD period. It includes: FLVIS. A st

ZOU YAJING 9 Feb 21, 2022
The most hackable keyboard in all the land

MiRage Modular Keyboard © 2021 Zack Freedman of Voidstar Lab Licensed Creative Commons 4.0 Attribution Noncommercial Share-Alike The MiRage is a 60% o

Zack Freedman 558 Dec 30, 2022
Excel cell checker with python

excel-cell-checker Description This tool checks a given .xlsx file has the struc

Paul Aumann 1 Jan 04, 2022
Project5 Data processing system

Project5-Data-processing-system User just needed to copy both these file to a folder and open Project5.py using cmd or using any python ide. It is to

1 Nov 23, 2021
Make creating Excel XLSX files fun again

Poi: Make creating Excel XLSX files fun again. Poi helps you write Excel sheet in a declarative way, ensuring you have a better Excel writing experien

Ryan Wang 11 Apr 01, 2022
A python script based on OpenCV-Python, you can automatically hang up the Destiny 2 Throne to get the Dawning Essence.

A python script based on OpenCV-Python, you can automatically hang up the Destiny 2 Throne to get the Dawning Essence.

1 Dec 19, 2021
Gunakan Dengan Bijak!!

YMBF Made with ❤️ by ikiwzXD_ menu Results notice me: if you get cp results, save 3/7 days then log in. Install script on Termux $ pkg update && pkg u

Ikiwz 0 Jul 11, 2022
This speeds up PyCharm's package index processes and avoids CPU & memory overloading

This speeds up PyCharm's package index processes and avoids CPU & memory overloading

1 Feb 09, 2022
A simple app that helps to train quick calculations.

qtcounter A simple app that helps to train quick calculations. Usage Manual Clone the repo in a folder using git clone https://github.com/Froloket64/q

0 Nov 27, 2021
Rufus port to linux, writed on Python3

Rufus-for-Linux Rufus port to linux, writed on Python3 Программа будет иметь тот же интерфейс что и оригинал, и тот же функционал. Программа создается

10 May 12, 2022
Capture screen and download off Roku based devices

rokuview Capture screen and download off Roku based devices Tested on Hisense TV with Roku OS built-in No guarantee this will work with all Roku model

3 May 27, 2021
Rename and categorize your DMOJ solutions

DMOJ Downloader What is this for? DMOJ lets you download the code for all your solutions, however the files are just named as numbers

Evan Wild 1 Dec 04, 2022
A python library for writing parser-based interactive fiction.

About IntFicPy A python library for writing parser-based interactive fiction. Currently in early development. IntFicPy Docs Parser-based interactive f

Rita Lester 31 Nov 23, 2022
Multi-Probe Attention for Semantic Indexing

Multi-Probe Attention for Semantic Indexing About This project is developed for the topic of COVID-19 semantic indexing. Directories & files A. The di

Jinghang Gu 1 Dec 18, 2022