Coder Social home page Coder Social logo

zytedata / spidyquotes Goto Github PK

View Code? Open in Web Editor NEW
30.0 8.0 15.0 228 KB

Example site for web scraping tutorials

License: BSD 3-Clause "New" or "Revised" License

Python 6.73% Julia 83.40% CSS 0.87% HTML 8.83% Shell 0.03% Dockerfile 0.11% Procfile 0.03%
scraping crawling tutorials web-scraping-tutorials web-scraping web-crawling playground

spidyquotes's Introduction

Spidy Quotes

This is an example site for web scraping tutorials.

Installation

Install dependencies:

pip install -r requirements.txt

How to run

python spidyquotes.py

To run in development mode, use the --debug flag.

Endpoints

  • /: well structured HTML with microdata markup and pagination buttons.
  • /scroll: same as /, but with infinite scrolling via AJAX calls.
  • /js: the content is generated by JavaScript code.
  • /js-delayed/?delay=1000: same as /js but with a delay. Default delay is 10000 ms.
  • /tableful: a messed-up layout based on tables.
  • /login: login page with CSRF token (any user/passwd works). The website shows GoodReads links for authenticated users.
  • /viewState: an AJAX-based filter form that simulates ViewStates behavior.
  • /random: shows a single random quote.

Hosted version

There is a hosted version available at http://quotes.toscrape.com.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.