본문 바로가기

Python_Crawling/Crawling

[Crawling]Python Study - PPT Presentation Material - 4

반응형

기본 구조(3.16.html / 3.17.html)

#아이디 이름 정의

id=아이디 이름

특정한 id 속성을 가지고 있는 태그

참고 : https://developer.mozilla.org/en-US/docs/Web/CSS/ID_selectors

 

ID selectors

The CSS ID selector matches an element based on the value of its id attribute. In order for the element to be selected, its ID attribute must match exactly the value given in the selector.

developer.mozilla.org

기본 구조(3.18.html)

참고 : http://www.nextree.co.kr/p8468/

 

CSS: 선택자(Selector) 이해

웹 표준은 이제 더 이상 무시할 수 없는 키워드입니다. World Wide Web(WWW)의 의미대로 가능한 많은 사람이 웹을 이용하기 위해서는, 모든 브라우저에서 ‘똑같이 보이는 것’이 아니라 ‘각 브라우저에 알맞게 보이는 것’이 중요하기 때문입니다. 그래서 웹 표준에서는 구조(Constructure)와 표현(Presentation)과 행위(Behavior)를 각각 분리해서

www.nextree.co.kr

 

기본 구조(3.19.html / 3.20.html)

자바스크립트로 작성하면 크롤러가 접근 힘듬

• 참고 : https://developer.mozilla.org/en-US/docs/Glossary/JavaScript

 

JavaScript

JavaScript (or "JS") is a programming language used most often for dynamic client-side scripts on webpages, but it is also often used on the server-side, using packages such as Node.js.

developer.mozilla.org

DOM(Document Object Model)

W3C에서 개발 프로그래밍 규격

Core DOM : 모든 구조화된 문서의 표준 모델

XML DOM : XML 문서의 표준 모델

HTML DOM : HTML 문서의 표준 모델

노드라고 부르는 요소들이 모여 계층

 참고 https://developer.mozilla.org/en-US/docs/Glossary/DOM

 

DOM (Document Object Model)

The DOM (Document Object Model) is an API that represents and interacts with any HTML or XML document. The DOM is a document model loaded in the browser and representing the document as a node tree, where each node represents part of the document (e.g. an

developer.mozilla.org

 

반응형