Thanks to visit codestin.com
Credit goes to hub.docker.com

badouralix/python-scrapy

By badouralix

Updated 4 months 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

Content type

Image

Digest

sha256:357e6dab6

Size

421.7 MB

Last updated

4 months ago

docker pull badouralix/python-scrapy