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.1.9.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.1.9-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: douzone_crawl-0.1.9.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.1.9.tar.gz
Algorithm Hash digest
SHA256 b0cd4e2fb742f3a946375b13f9b373be370e2e11ffa9133d38589b3e9959a48a
MD5 06dad681d01278ec9958c8af1460e293
BLAKE2b-256 8ea06ce7b05478342104503587afbb442da81efc08c569cbb5bd3e2d2eb1eb7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: douzone_crawl-0.1.9-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.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fa8702ec1a9b31ca9791a9679daf2f8f63cb9129344683c36bf01e55e7c567d6
MD5 431e0af421ecf1031ff0df0054a42877
BLAKE2b-256 e5a190e901c3fd7c9a63421bb8beff28b3f2ce45d2b653ceeb921d4eda5a4c0e

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