Skip to main content

효율적인 웹 크롤링 및 검색 결과 처리를 위한 라이브러리

Project description

Douzone-crawl

Python Selenium

🔍 빠르고 쉬운 웹 크롤링을 위한 파이썬 라이브러리입니다. Google 검색 결과와 웹 페이지 콘텐츠를 손쉽게 추출하세요.

주요 기능

  • Google 검색 결과 수집
  • 검색 결과 페이지 내용 추출
  • 검색 결과의 제목, URL, 날짜, 설명 정보 제공
  • 결과 파일 저장 기능

설치 방법

pip install douzone_crawl
pip install requirements.txt

사용 방법

기본 사용 예시

import douzone_crawl

# 크롤러 생성
crawler = douzone_crawl.DouzoneCrawler(max_results=2)

# 검색 실행
results = crawler.crawl("더존비즈온")

# 결과 저장
crawler.save_to_json(results)

다중 검색어 사용 예시

import douzone_crawl

# 검색어 리스트
search_queries = ["더존비즈온", "ERP", "AI"]

crawler = douzone_crawl.DouzoneCrawler(max_results=2)

for query in search_queries:
    
    # 검색 실행
    results = crawler.crawl(query)
    
    # 결과 저장 (검색어별로 다른 파일에 저장)
    file_path = crawler.save_to_json(results, search_query=query)

print("모든 검색이 완료되었습니다.")

사용자 지정 경로 저장 예시

import douzone_crawl

# 크롤러 생성
crawler = douzone_crawl.DouzoneCrawler(max_results=2)

# 검색 실행
results = crawler.crawl("더존비즈온")

# 결과 저장 (사용자 지정 디렉토리에)
crawler.save_to_json(results, directory="./data/search_results")

# 또는 파일명과 디렉토리를 모두 지정할 수도 있습니다.
crawler.save_to_json(results, filename="douzone_search.json", directory="C:/Users/username/Documents")

기여하기

  • 버그 신고나 기능 제안은 이슈 트래커를 이용해 주세요. 풀 리퀘스트도 환영합니다!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

douzone_crawl-0.2.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

douzone_crawl-0.2.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file douzone_crawl-0.2.0.tar.gz.

File metadata

  • Download URL: douzone_crawl-0.2.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for douzone_crawl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 28bcec14eefa643e6e3f10ed2305dfe85c417c91941786b77b1b5f3b42102065
MD5 37bb6da68e67ec2f90dfcbdc436e9416
BLAKE2b-256 91c57bafc33d594d7b48b5b68109e945c802498a04ddd2a7bf8db725e6f95425

See more details on using hashes here.

File details

Details for the file douzone_crawl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: douzone_crawl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for douzone_crawl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2eada7fc0092b24c47b9a9a31d9e6e8e4d9594b28f76583227f42d0790a937b
MD5 0683f94195e3c032b1fdb234987559dc
BLAKE2b-256 c39834d0d93a2a87743a633e5290d0b55966ea42d579ef87a8b576989603bdb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page