HANDEV
close
프로필 배경
프로필 로고

HANDEV

  • 분류 전체보기 (33)
    • Front-End (10)
      • JavaScript (7)
      • Vue.js (0)
      • React.js (1)
      • Function (2)
    • Back-End (0)
      • Java (0)
    • Network (8)
      • Network (1)
      • Socket (7)
    • 금융 IT (2)
    • Data Analysis (1)
      • Web Crawling (1)
    • Algorithm (1)
    • Coding Test (3)
    • Error (8)
[Python] YES24 베스트셀러 후기 키워드 TOP 10

[Python] YES24 베스트셀러 후기 키워드 TOP 10

YES24 베스트셀러 후기 키워드 TOP 10 - Selenum을 활용한 베스트셀러 후기 키워드 추출 - chromedriver 설치 필요 - 더 빠른 실행 시간을 원할 경우 beautifulsoup와 같은 라이브러리 사용 필요 코드 요약 YES24 카테고리 > 베스트 셀러 접속 베스트 셀러 상세 보기를 새탭으로 열기(20권만) 베스트 셀러의 리뷰를 최대 5개씩 저장 저장한 리뷰 목록에서 명사만 추출 키워드 TOP 10 막대 차트 생성 import selenium from selenium import webdriver from selenium.webdriver.common.by import By from time import sleep import time from konlpy.tag import Okt..

  • format_list_bulleted Data Analysis/Web Crawling
  • · 2023. 10. 10.
  • textsms
request.getRemoteAddr() 했을 때 IP가 아닌 0:0:0:0:0:0:0:1 출력

request.getRemoteAddr() 했을 때 IP가 아닌 0:0:0:0:0:0:0:1 출력

에러 현상 - request.getRemoteAddr() 했을 때 IP가 아닌 0:0:0:0:0:0:0:1가 나오는 상황 해결 1. eclicpse 상위 메뉴에서 Run > Run Configrations...를 클릭한다. 2. Tomcat을 검색한 후 -Djava.net.preferIPv4Stack=true를 추가하고 Apply를 클릭한다. 3. 0:0:0:0:0:0:0:1이 아닌 127.0.0.1이 출력된다. 그러나 IPv4 주소 출력이 필요하다. 다른 방법을 찾았다.

  • format_list_bulleted Error
  • · 2023. 8. 28.
  • textsms

Object를 Array로 변환

Tree 형태의 Object를 하나의 Array로 변환하는 함수이다. /* 변환 전 parent : { a : a, children : [{b : b}, {c : c}] } 변환 후 [{a, a}, {b : b}, {c : c}] */ function convertObjectToArray(tree) { const list = []; function pushItem(node) { if (!node) return; node.forEach(item => { list.push(item); const childrenKeyList = Object.keys(item).filter(key => Array.isArray(item[key])); if (childrenKeyList.length > 0) { childrenK..

  • format_list_bulleted Front-End/Function
  • · 2023. 8. 9.
  • textsms
[Web🌐] Several ports (8005, 8080) required by Tomcat...

[Web🌐] Several ports (8005, 8080) required by Tomcat...

에러 현상 - 톰캣 실행 시 아래의 에러 발생 Several ports (8005, 8080) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). 해결 - 실행되어 있는 톰캣을 강제 종료 후 다시 시작한다. cmd 창을 실행하여 명령어 netstat를 입력한다. 현재 실행중인 톰캣 프로세스(PID 번호)를 찾는다..

  • format_list_bulleted Error
  • · 2023. 8. 7.
  • textsms
[Web🌐] Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin'

[Web🌐] Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin'

환경A Spring 프로젝트의 iframe에서 B Spring 프로젝트의 화면을 호출한다.  에러 현상iframe에서 페이지가 나타나지 않고 Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin' 오류가 나타난다. 해결- 보안을 위하여 다른 사이트에서 로드할 때 허용 범위가 지정되어 있다. 호출하는 사이트(A 프로젝트)는 호출 당하는 사이트(B 프로젝트)에서 막은거라 할 수 있는 일은 없다.호출 당하는 사이트(B 프로젝트)에서 X-Frame-Options 설정을 해준다.DENY: 시도하는 사이트에 관계없이 페이지를 프레임에 표시 X SAMEORIGIN: 페이지는 모든 조상 프레임이 페이지 자체와 동일한 출처인 경..

  • format_list_bulleted Error
  • · 2023. 7. 12.
  • textsms
[JS] JavaScript

[JS] JavaScript

자바스크립트(Javascript)는 스크립트 언어이자 프로토타입 기반의 프로그래밍 언어이다. HTML은 웹 페이지의 기본 구조를 담당하고, CSS는 디자인을 담당하며, 자바스크립트는 웹 페이지의 동작을 담당한다. 자바스크립트란 프로토타입 기반 객체지향 언어이다.자바와 혼동되는 경우가 많으나 자바는 클래스 기반 객체지향 언어이다.JavaScript와 JAVA의 공통점: 객체지향class Dog { constructor(name) { this.name = name; } bark() { console.log(`${this.name} is barking!`); }}const myDog = new Dog("Buddy");myDog.bark(); //Buddy is b..

  • format_list_bulleted Front-End/JavaScript
  • · 2023. 5. 31.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • navigate_next
전체 카테고리
  • 분류 전체보기 (33)
    • Front-End (10)
      • JavaScript (7)
      • Vue.js (0)
      • React.js (1)
      • Function (2)
    • Back-End (0)
      • Java (0)
    • Network (8)
      • Network (1)
      • Socket (7)
    • 금융 IT (2)
    • Data Analysis (1)
      • Web Crawling (1)
    • Algorithm (1)
    • Coding Test (3)
    • Error (8)
최근 글
인기 글
태그
  • #백준
  • #Linux_Socket
  • #javascript
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바