Giter Site home page Giter Site logo

hhy5277 / scrapydweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from my8100/scrapydweb

0.0 1.0 0.0 2.51 MB

Scrapyd cluster management, Scrapy log analysis & visualization, Basic auth, Auto eggifying, Email notice and Mobile UI. :film_strip: GIF DEMO :point_right:

Home Page: https://github.com/my8100/files/tree/master/scrapydweb/README_GIF.md

License: GNU General Public License v3.0

Python 49.01% CSS 5.84% JavaScript 5.68% HTML 39.47%

scrapydweb's Introduction

๐Ÿ”ค English | ๐Ÿ€„ ็ฎ€ไฝ“ไธญๆ–‡

ScrapydWeb: A full-featured web UI for Scrapyd cluster management, with Scrapy log analysis & visualization supported.

PyPI - scrapydweb Version Downloads - total PyPI - Python Version Coverage Status GitHub license Twitter

overview

Scrapyd โŒ ScrapydWeb

๐Ÿ“– Recommended Reading

๐Ÿ”— How to efficiently manage your distributed web scraping projects

โญ Features

View contents
  • ๐Ÿ’  Scrapyd Cluster Management

    • ๐Ÿ’ฏ All Scrapyd JSON API Supported
    • โ˜‘๏ธ Group, filter and select any number of nodes
    • ๐Ÿ–ฑ๏ธ Execute command on multinodes with just a few clicks
  • ๐Ÿ” Scrapy Log Analysis

    • ๐Ÿ”ข Stats collection
    • ๐Ÿ“ˆ Progress visualization
    • ๐Ÿ“‘ Logs categorization
  • ๐Ÿ”‹ Enhancements

    • ๐Ÿ—‚๏ธ HTML caching for the Log and Stats page
    • ๐Ÿ” Basic auth for web UI
    • ๐Ÿ“ฆ Auto eggify your projects
    • ๐Ÿ“ง Email notice
    • ๐Ÿ“ฑ Mobile UI

๐Ÿ‘€ Preview

๐Ÿ’ป Getting Started

View contents

โš ๏ธ Prerequisites

โ— Make sure that ๐Ÿ”— Scrapyd has been installed and started on all of your hosts.

โ€ผ๏ธ Note that for remote access, you have to manually set 'bind_address = 0.0.0.0' in ๐Ÿ”— the configuration file of Scrapyd and restart Scrapyd to make it visible externally.

โฌ‡๏ธ Install

  • Use pip:
pip install scrapydweb
  • Use git:
git clone https://github.com/my8100/scrapydweb.git
cd scrapydweb
python setup.py install

โ–ถ๏ธ Start

  1. Start ScrapydWeb via the scrapydweb command. (a config file would be generated for customizing settings on the first startup.)
  2. Visit http://127.0.0.1:5000 (It's recommended to use Google Chrome for a better experience.)

๐ŸŒ Browser Support

The latest version of Google Chrome, Firefox, and Safari.

โœ”๏ธ Running the tests

View contents
$ git clone https://github.com/my8100/scrapydweb.git
$ cd scrapydweb

# To create isolated Python environments
$ pip install virtualenv
$ virtualenv venv/scrapydweb
# Or specify your Python interpreter: $ virtualenv -p /usr/local/bin/python3.7 venv/scrapydweb
$ source venv/scrapydweb/bin/activate

# Install dependent libraries
(scrapydweb) $ python setup.py install
(scrapydweb) $ pip install pytest
(scrapydweb) $ pip install coverage

# Make sure Scrapyd has been installed and started, then update the custom_settings item in tests/conftest.py
(scrapydweb) $ vi tests/conftest.py
(scrapydweb) $ curl http://127.0.0.1:6800

(scrapydweb) $ coverage run --source=scrapydweb -m pytest tests/test_a_factory.py -s -vv
(scrapydweb) $ coverage run --source=scrapydweb -m pytest tests -s -vv
(scrapydweb) $ coverage report
# To create an HTML report, check out htmlcov/index.html
(scrapydweb) $ coverage html

๐Ÿ—๏ธ Built With

View contents

๐Ÿ“‹ Changelog

Detailed changes for each release are documented in the ๐Ÿ”— HISTORY.md.

๐Ÿ‘จโ€๐Ÿ’ป Author


my8100

๐Ÿ‘ฅ Contributors


Kaisla

ยฉ๏ธ License

This project is licensed under the GNU General Public License v3.0 - see the ๐Ÿ”— LICENSE file for details.

scrapydweb's People

Contributors

my8100 avatar

Watchers

 avatar

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.