Giter Site home page Giter Site logo

endlesstrax / pyanchor Goto Github PK

View Code? Open in Web Editor NEW
65.0 5.0 7.0 567 KB

Find your broken links, so users don't.

Home Page: https://pypi.org/project/pyanchor/

License: MIT License

Python 88.66% HTML 11.11% Shell 0.24%
cli dead-links anchor-tags python python3 link-checker hacktoberfest

pyanchor's Issues

Track broken link origin

When a broken link is found, then a user should be able to track the origin of the link. Especially when dealing with large sets of links from a sitemap, for instance.

Package into an executable file

Provide a standalone .exe for easier distribution. This will allow it to be added to package managers as well as make it useful for non-python devs.

Start Test Web app on a subprocess

Currently, to test PyAnchor, the testing Flask app needs to be started in a separate terminal session before tests can be run against it.

Ideally the test suite should do this automatically, and end the process when testing is complete.

Add LinkAnalysis feature to CLI

Add the ability to run LinkAnalysis over a set of anchor tags from the CLI.

Should output the results in an easy to read format, such as a table.

Dealing with relative links

Currently the check_link_for_http_scheme method in the LinkResults class returns None when it sees a relative link starting with a ./ or ../. Same applies to links that start with #.

This links should be parsed and a full URL determined so that it can be passed to the final links dictionary.

Parse sitemap of sitemaps.

Not all sitemaps are a list of pages on a website. For larger sites, the main sitemap may be a list of sub-sitemaps. This is sometimes common with CMS frameworks.

PyAnchor should be configured to work with this multiple sitemap structure.

Terminal colorization inconsistent

It appears that the terminal colorization provided by Typer (which is inherited from Click) doesn't display on all terminals. Most notably, PowerShell and CMD.

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.