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 에서 원하는 기능 버튼 클릭.
Palestra sobre desenvolvimento seguro de imagens e containers para a DockerCon 2021 sala Brasil

Segurança de imagens e containers direto na pipeline Palestra sobre desenvolvimento seguro de imagens e containers para a DockerCon 2021 sala Brasil.

Fernando Guisso 10 May 19, 2022
A wide AOI generator tool.

Dark Generator A wide AOI generator tool. Information Installation To Install you have to have python 3.x and pip installed on your system. If you hav

Darkest Surface 12 Dec 26, 2022
OpenTable Reservation Maker For Python

OpenTable-Reservation-Maker The code that corresponds with this blog post on writing a script to make reservations for me on opentable Getting started

JonLuca De Caro 36 Nov 10, 2022
This repo houses the qhub frontend moving forward.

This repo houses the qhub frontend moving forward. This effort will house a backend written in fastAPI, and a fronend in Vue, with additional components.

Quansight 1 Feb 10, 2021
Python program that generates random user from API

RandomUserPy Author kirito sate #modules used requests, json, tkinter, PIL, urllib, io, install requests and PIL modules from pypi pip install Pillow

kiritosate 1 Jan 05, 2022
🍞 Create dynamic spreadsheets with arbitrary layouts using Python

🍞 tartine What this is Installation Usage example Fetching some data Getting started Adding a header Linking more cells Cell formatting API reference

Max Halford 11 Apr 16, 2022
A full-featured, hackable tiling window manager written and configured in Python

A full-featured, hackable tiling window manager written and configured in Python Features Simple, small and extensible. It's easy to write your own la

Qtile 3.8k Dec 31, 2022
Hospitality app for ERPNext to manage hotels & restaurants.

Hospitality ERPNext Hospitality module is designed to handle workflows for Hotels and Restaurants. Manage Restaurants The Restaurant module in ERPNext

Frappe 19 Dec 26, 2022
The Official Jaseci Code Repository

Jaseci Release Notes Version 1.2.2 Updates Added new built-ins for nodes and edges (context, info, and details) Fixed dot output Added reset command t

136 Dec 20, 2022
Procscan is a quick and dirty python script used to look for potentially dangerous api call patterns in a Procmon PML file.

PROCSCAN Procscan is a quick and dirty python script used to look for potentially dangerous api call patterns in a Procmon PML file. Installation git

Daniel Santos 9 Sep 02, 2022
0xFalcon - 0xFalcon Tool For Python

0xFalcone Installation Install 0xFalcone Tool: apt install git git clone https:/

Alharb7 6 Sep 24, 2022
Esercizi di Python svolti per il biennio di Tecnologie Informatiche.

Esercizi di Python Un piccolo aiuto per Sofia che nel 2° quadrimestre inizierà Python :) Questo repository (termine tecnico di Git) puoi trovare tutti

Leonardo Essam Dei Rossi 2 Nov 07, 2022
PIP VA TASHQI KUTUBXONALAR

39-dars PIP VA TASHQI KUTUBXONALAR KIRISH Avvalgi darsimizda Python bilan birga o'rnatluvchi, standart kutubxona va undagi ba'zi foydali modullar bila

Sayfiddin 3 Nov 25, 2021
Wannier & vASP Postprocessing module

WASPP module Wannier90 & vASP Postprocessing module with functionalities I needed during my PhD. Being updated Version: 0.5 Main functions: Wannier90

Irián Sánchez Ramírez 4 Dec 27, 2022
Ergonomic option parser on top of dataclasses, inspired by structopt.

oppapī Ergonomic option parser on top of dataclasses, inspired by structopt. Usage from typing import Optional from oppapi import from_args, oppapi @

yukinarit 4 Jul 19, 2022
Backups made easy, automated, monitored and SECURED with an audited encryption

Backup Controller Backups made easy, automated, monitored and SECURED with an audited encryption. Schedules backup tasks executed by Backup Maker, upl

RiotKit 1 Jan 30, 2022
A Python program that generates a maze that solves itself using DFS

Maze Generator And Solver Program Purpose: Generates a maze that then solves itself Language: Python and Pygame Algorithm: Randomized DFS / Floodfill

Joshua Liu 1 Jul 25, 2022
This is the Code Institute student template for Gitpod.

Welcome AnaG0307, This is the Code Institute student template for Gitpod. We have preinstalled all of the tools you need to get started. It's perfectl

0 Feb 02, 2022
A pypi package details search python module

A pypi package details search python module

Fayas Noushad 5 Nov 30, 2021
Python implementation of the ASFLIP advection method

This is a python implementation of the ASFLIP advection method . We would like to hear from you if you appreciate this work.

Raymond Yun Fei 133 Nov 13, 2022