250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- test
- java
- 파이썬
- tomoto
- r
- word2vec
- db
- RESFUL
- 지마켓
- 네이버뉴스
- lda
- Topics
- Gmarket
- Websocket
- oracle
- 과학백과사전
- spring MVC(모델2)방식
- Python
- 幼稚园杀手(유치원킬러)
- 크롤링
- 코사인 유사도
- jsp 파일 설정
- 자바
- 이력서
- (깃)git bash
- 방식으로 텍스트
- 토픽추출
- 게시판 만들기
- pytorch
- mysql
Archives
- Today
- Total
목록class 속성값 찾기 (1)
무회blog
html 태그에서 특정 class 속성값이 있으면 1 없으면 0 인 소스를 짠다 .(None/Null 체크)
# -*- coding: utf-8 -*- """ html 태그에서 특정 class 속성값이 있으면 1 없으면 0 인 소스를 짠다 . @author: 무회/sucun 0. html 태그에서 특정 class 속성값이 있으면 1 없으면 0 인 소스를 짠다 . """ from bs4 import BeautifulSoup as bs import os import requests as rq from time import sleep from selenium import webdriver from selenium.webdriver.chrome.options import Options driver = webdriver.Chrome(r'C:\app\04.Drivers\chromedriver.exe') url = 'htt..
Python
2022. 6. 4. 06:12