Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A python package aiming at avoiding unnecessary repetition in making common crawlers.

Project description

To install, just run

$ pip install looter

features

  • super-light-weight crawler
  • automatically generate spider with template
  • blazing fast speed with concurrent.futures
  • provides shell to debug your crawler

example

Here’s a 3-line image crawler: First, open it with shell

$ looter shell konachan.net/post

Then, extract with css and grab images you want!

>>> links = tree.cssselect('a.directlink')
>>> save_imgs(links)

And of course, there are more functions for you to discover.

usage

Usage:
  looter genspider <name> <tmpl>
  looter shell [<url>]
  looter (-h | --help | --version)

Options:
  -h --help        Show this screen.
  --version        Show version.

Templates available: data, image and async. You can also view examples.

tutorial

以下是中文教程:猛戳这里

Project details


Release history Release notifications

History Node

1.67

History Node

1.66

History Node

1.65

History Node

1.64

History Node

1.63

History Node

1.62

History Node

1.61

History Node

1.60

History Node

1.59

History Node

1.58

History Node

1.57

History Node

1.56

History Node

1.55

History Node

1.54

History Node

1.53

History Node

1.52

History Node

1.51

History Node

1.50

History Node

1.49

History Node

1.48

This version
History Node

1.47

History Node

1.46

History Node

1.45

History Node

1.44

History Node

1.43

History Node

1.42

History Node

1.41

History Node

1.40

History Node

1.39

History Node

1.38

History Node

1.37

History Node

1.36

History Node

1.35

History Node

1.34

History Node

1.33

History Node

1.32

History Node

1.31

History Node

1.30

History Node

1.29

History Node

1.28

History Node

1.27

History Node

1.26

History Node

1.25

History Node

1.24

History Node

1.23

History Node

1.22

History Node

1.21

History Node

1.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
looter-1.47.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Source None Mar 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page