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

Uploaded Python 3

File details

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

File metadata

  • Download URL: douzone_crawl-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 62de4558be3d72dfbe92622a2ce575c556cfc1a4e4d9ee49ba7c1c0e295a7dd6
MD5 571ea2714b5eaf99848b1467de06b859
BLAKE2b-256 e8786dade71fc245373cd14f1f6e599694d3773ccb7652e6e18b84f043f0d9f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: douzone_crawl-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 422becf84468b9770a8bf353e24d06feb406ee870f13607a2128c22e8d8c6f90
MD5 712a5c927f969e74a1fa8efab1a1a4f1
BLAKE2b-256 19b851765ab85baeeb3ab1565b925edb24e5a63f22db7a1d2916650a7279c8d8

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