HUB
Sign inSign up

badouralix/python-scrapy

By badouralix

•Updated over 1 year ago

Debian-based docker image for scrapy

Image
Web servers
7

10K+

badouralix/python-scrapy repository overview

⁠python-scrapy

Docker Pulls Docker Stars Docker Image Version (latest by date) Docker Image Size (latest by date)

This repository contains a Dockerfile for Scrapy⁠.

See the repo on Docker Hub⁠.

⁠Installation

  1. Install Docker⁠.
  2. After cloning, build an image from the Dockerfile : docker build -t $USER-local/python-scrapy .

⁠Usage

$ docker run -it --rm badouralix/python-scrapy
>>> fetch("http://quotes.toscrape.com/")
>>> response.xpath("//title/text()").get()
'Quotes to Scrape'

See other examples at https://docs.scrapy.org/en/latest/intro/examples.html⁠.

⁠License

Unless expressly stated otherwise, all contents licensed under the MIT License⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:357e6dab6…
Size
421.7 MB
Last updated
over 1 year ago
docker pull badouralix/python-scrapy:latest