A full-featured web UI for Scrapyd cluster management, with Scrapy log analysis & visualization supported.
Project description
English | 简体中文
ScrapydWeb: A full-featured web UI for Scrapyd cluster management, with Scrapy log analysis & visualization supported.
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
- :e-mail: 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
- Start ScrapydWeb via the
scrapydweb
command. (a config file would be generated for customizing settings on the first startup.) - 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
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for scrapydweb-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 323154ea18aaaddb36fa0389386c3f722e363ff2ae19d72ef7e86f21be3e5e4a |
|
MD5 | d0a5d762aebde3ea794f845993dbab08 |
|
BLAKE2b-256 | c3d3e10f584cc716f41b993a0e7357a927799a7a4f73f666a76b8afd0467134b |