Commit Graph

17 Commits

Author SHA1 Message Date
Matheus Felipe c2bdd9e5fc Fix false negative http code 404 in verification
Some links when they were being checked returned the http code 404,
but the links were working correctly.

This was happening because before the request the link was concatenated
with the / character at the end, making it a different link from the
original. If the original link didn't have a path that is
accessed by / at the end, it would return a 404 error.

This behavior made it a false negative.
2022-02-07 07:09:01 -03:00
Matheus Felipe 4bc90a81cc Add possibility to run duplicate link check only
Changes:

- It is now possible to only check for duplicate
  links (without checking if the links are working)

- Check for duplicate links when a push occurs

- Update the scripts documentation accordingly
2022-01-18 02:06:21 -03:00
Matheus Felipe f3146c9e24 Get content from index 0 if Index section does not exist 2022-01-15 19:24:35 -03:00
Matheus Felipe ae7ac00586 Mapped network problem (DNS failure, connection refused, etc) 2022-01-15 17:40:32 -03:00
Matheus Felipe a553dd5909 Mapped RequestException Exceptions 2022-01-15 17:12:44 -03:00
Matheus Felipe 8c28be1497 Create start_* functions to start checkers 2022-01-13 17:49:11 -03:00
Matheus Felipe b62683f96e Show one duplicate link per line 2022-01-13 16:33:03 -03:00
Matheus Felipe 50ad807e5c Show number of links with a possible error 2022-01-13 16:23:01 -03:00
Matheus Felipe 8ac60e31aa Remove whitespaces 2022-01-12 19:25:08 -03:00
Matheus Felipe 8136aa9ed1 Implementing the cloudflare protection check
Related:
- #2409
- #2960
2022-01-12 19:20:31 -03:00
Matheus Felipe 978147ca39 Check if a list of links are working 2022-01-12 02:15:39 -03:00
Matheus Felipe 8650f7f979 Make sure the link contains :// 2022-01-12 01:23:59 -03:00
Matheus Felipe 95ee79818f Remove whitespaces 2022-01-12 00:58:54 -03:00
Matheus Felipe 7be0512b54 Check if a link is working 2022-01-12 00:55:23 -03:00
Matheus Felipe d728eeddbc Refactor duplicate link checker 2022-01-11 20:58:05 -03:00
Matheus Felipe 2eb6d20100 Implement functions to check duplicate links 2022-01-11 04:33:18 -03:00
Matheus Felipe 4808d633a1 Implement functions to find links in a text/file 2022-01-11 03:59:18 -03:00