Create a graph from the links on a website and the following sites.
This repository has been archived on 2025-09-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2021-12-09 10:56:15 +01:00
lib Add existing project files 2021-12-09 10:55:29 +01:00
.gitignore Add existing project files 2021-12-09 10:55:29 +01:00
linkmapy.py Add existing project files 2021-12-09 10:55:29 +01:00
pip-dependencies.txt Add existing project files 2021-12-09 10:55:29 +01:00
README.md Add section 'Usage' to the README 2021-12-09 10:56:15 +01:00

linkmapy

Usage

./linkmapy.py [-h] [--dump] [--max-depth N] [--max-links-per-site N] [--http-download-limit NBYTES] [--log] url
  • positional arguments:

    • url   The URL of the site you want to start from
  • optional arguments:

    • -h, --help   show this help message and exit
    • --dump   Only output the found connections to the console and exit
    • --max-depth N   The maximum depth at which links will be followed (default: 3)
    • --max-links-per-site N   The maximum amount of links on a page that will be included (default: 3)
    • --http-download-limit NBYTES   The maximum length of a requested html file download (in bytes) (default: 10000000)
    • --log   Log all visited sites and links to stderr