Skip to main content

bolcom_crawler

This is a really simple crawler that makes use of Scrapy to crawl bol.com.

Usage

The Crawler instance has two functions you can use, crawl_products and crawl_category. See an example below.

from bol_crawler.crawler import Crawler
crawler = Crawler()

# to crawl products
products = crawler.crawl_products(
    [
        'https://www.bol.com/nl/p/lg-34gl750-b-ultragear-gaming-monitor/9200000115819731',
    ]
)

# to crawl a category
products = crawler.crawl_category(
    [
        'https://www.bol.com/nl/l/gaming-toetsenborden/N/18214/', 0  # the 0 value is how often you want to go to the next page. 0 is just crawling the first page
    ]
)

Metadata

Release files for bol-crawler 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bol-crawler 0.0.1
File Size Uploaded
bol-crawler-0.0.1.tar.gz 1.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bol-crawler 0.0.1
File Interpreter ABI Platform
bol_crawler-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / bol-crawler-0.0.1.tar.gz

Download URL bol-crawler-0.0.1.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5b3d555be4ca381a9c3e5961e0f5e15bc6dc08e01a210b352bb90da5a78547c4
BLAKE2b-256 checksum
How to use checksums
ccc651827b56d8a3c32a00f89cf11bc491bc80bc6b1297ac84bca731ef75aebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

Release files / bol_crawler-0.0.1-py3-none-any.whl

Download URL bol_crawler-0.0.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
147b9a04b8cb06f8a920c7ef0d3fd9e0e1caae9cc8cd2e186c2ad9691adbad27
BLAKE2b-256 checksum
How to use checksums
8b044d2a8dc29303392a37d87b467b543e3217efbcff243def962dc17fdb5338
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page