https://github.com/3mdeb/lychee-log-parser
Parser for lychee logs
https://github.com/3mdeb/lychee-log-parser
Last synced: 5 months ago
JSON representation
Parser for lychee logs
- Host: GitHub
- URL: https://github.com/3mdeb/lychee-log-parser
- Owner: 3mdeb
- License: mit
- Created: 2024-01-29T20:52:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T10:04:04.000Z (over 2 years ago)
- Last Synced: 2024-02-14T11:24:52.872Z (over 2 years ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lychee Log Parser
Tool used to analyze [Lychee link checker](https://github.com/lycheeverse/lychee)
logs. Evaluates whether the problems detected by lychee are actual site or
server problems.
## Installation
Create new python virtual environment.
``` bash
$ virtualenv venv
```
Activate virtual environment.
```bash
$ source venv/bin/activate
```
Install requirements.
```bash
pip install -r requirements.txt
```
## Usage
```
positional arguments:
error_codes error codes that trigger failure, in the form of an integer, a list of integers, or a range (e.g., 10..200) Example: 503 400..404 999
optional arguments:
-h, --help show this help message and exit
-v, --verbose Increase logs verbosity level
-t, --ignore-timeouts
Ignore timeouts
-n, --ignore-nocode-net-err
Ignore network errors without status codes
-l LOG_PATH, --log-path LOG_PATH
Relative path to the lychee json log file.
```