Skip to content

richardpenman/wswp_places

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 12, 2015 17:53
June 12, 2015 17:53
June 12, 2015 17:53
March 27, 2015 19:28
December 6, 2020 15:01

This repository contains the source code the example website used throughout the book Web Scraping with Python, published by Packt Publishing. When run locally the app will not block IP's that download faster than the thresholds specified in models/3_cache.db, which means you can test your crawler faster.

Install

This app relies on the web2py framework, which can be downloaded here and is documented here.

In the shell the installation instructions are as follows:

#!bash

    # first download web2py
    wget http://www.web2py.com/examples/static/web2py_src.zip
    unzip web2py_src.zip
    # now download the app
    cd web2py/applications
    git clone git@github.com:richardpenman/wswp_places.git places
    # now start the web2py server with a password for the admin interface
    cd ..
    python web2py.py --password=<password>

The places app can now be accessed in your web browser at http://127.0.0.1:8000/places.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published