Skip to main content

No project description provided

Project description

Vitamin_C_crawler

Vitamin_C_crawler is an advanced data crawling system developed in Python, designed for efficient web scraping and data analysis. This tool specializes in collecting and analyzing web page data, with a particular focus on product names, prices, and image URLs. It offers flexibility for various data crawling scenarios, utilizing libraries like lxml, requests, and pandas.

Key Features

- Dynamic web page content scraping.
- Precise extraction of product information (names, prices, image URLs).
- Capability to export data in multiple formats, including CSV and JSON.
- Modular architecture, easily adaptable to specific requirements.

Quick Start Guide

Prerequisites

  • Ensure you are using Python 3.10 or newer.
  • Have poetry installed for dependency management.

Installation

Using a package manager

You can install the crawler as a package: Using pip:

pip install vitamin_c_crawler

Or using poetry:

poetry add vitamin_c_crawler

Cloning the repository

You can also clone the repository and install the dependencies. Using poetry:

git clone https://github.com/DenKof82/vitamin_c_crawler
cd vitamin_c_crawler
poetry install

Usage

As a module

import vitamin_c_crawler as vc_crawler
import config  # Ensure this script also has access to config

if __name__ == '__main__':
    vc_crawler.crawl_vitamin_c_products(
        time_limit=config.TIME_LIMIT,
        source=config.SOURCE_URL,
        download_images=config.DOWNLOAD_IMAGES
    )

For more examples look in the examples directory.

License

This project is licensed under the MIT license.

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

vitamin_c_crawler-2.0.0.tar.gz (535.6 kB view details)

Uploaded Source

Built Distribution

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

vitamin_c_crawler-2.0.0-py3-none-any.whl (535.4 kB view details)

Uploaded Python 3

File details

Details for the file vitamin_c_crawler-2.0.0.tar.gz.

File metadata

  • Download URL: vitamin_c_crawler-2.0.0.tar.gz
  • Upload date:
  • Size: 535.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/10

File hashes

Hashes for vitamin_c_crawler-2.0.0.tar.gz
Algorithm Hash digest
SHA256 2b30fe8498ebca4335f160f0cb39e88a43225779ba711afffcff5ca8fa80012f
MD5 1e72521645328275c40e3a05c6a483e7
BLAKE2b-256 868e50c50028a53f466ed5cd8c1ebf2c81556bb8742727fc57f5da35328b7c04

See more details on using hashes here.

File details

Details for the file vitamin_c_crawler-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: vitamin_c_crawler-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 535.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/10

File hashes

Hashes for vitamin_c_crawler-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 220df541a71124673e1e36753cb7e78ca100c77ec1f6affec0f1a33f8241d0a7
MD5 d454261cd8e7c8f0b9872a08b31dcdc5
BLAKE2b-256 1205cef36373c48a5cab6128a673eb71201ebbfbee71ddc75edcf999efe5b9ab

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