Giter VIP home page Giter VIP logo

urlpilgrim's People

Contributors

dependabot[bot] avatar meneguini avatar pedrofonsecadev avatar

Stargazers

 avatar

Watchers

 avatar

urlpilgrim's Issues

Program exit code.

Make sure that the program exits with an appropriate error code. If there are no errors (all links are good), exit with 0. Otherwise, exit with a non-zero exit code.

Async slower than sync for linkchecker

This is just an option but the async await is much slower the .then().catch
but you can turn your await fetch to fetch().then.catch()

It will be a fire and forget it method and is much quicker, I have forked your repo and shown a potential option to quicken checking links
https://github.com/zg3d/URLpilgrim/blob/master/urlFunctions/urlFuncs.js#L17-L40

The downfall is that you Ora spinner won't work anymore but we can find a potential fix to it.
The above method quicken the tool by a great margin and might be a great addition.

URLpilgrim issue : The tool is testing for non-links

When I test the tool for this https://wiki.cdot.senecacollege.ca/wiki/Planet_CDOT_Feed_List url/html file the tool is testing for non-links
image

As you can see in the image
The tool is trying to test for Woosle and Wissmann which are not links.

This could be because the parser is going line by line instead of testing the complete document.

because in the link above there are urls that are on multiple lines.

Check out
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match
The match command creates an array of all matches in a string

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.