This commit is contained in:
edoardottt
2021-10-05 18:44:38 +02:00
parent e274d977d1
commit 5e6ca8dd64
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -205,7 +205,6 @@ func Crawler(target string, txt string, html string, delayTime int, concurrency
// Create a callback on the XPath query searching for the URLs
c.OnXML("//urlset/url/loc", func(e *colly.XMLElement) {
link := e.Text
output.EncapsulateCustomRed("XML URL", link)
if len(link) != 0 {
absoluteUrl := utils.AbsoluteURL(protocolTemp, targetTemp, e.Request.AbsoluteURL(link))
// Visit link found on page
+1 -1
View File
@@ -1,6 +1,6 @@
/*
==========
Cariddi v1.1.1
Cariddi v1.1.2
==========
This program is free software: you can redistribute it and/or modify
+1 -1
View File
@@ -35,7 +35,7 @@ func Beautify() {
banner2 := " ___ __ _ _ __(_) __| | __| (_)\n"
banner3 := " / __/ _` | '__| |/ _` |/ _` | |\n"
banner4 := " | (_| (_| | | | | (_| | (_| | |\n"
banner5 := " \\___\\__,_|_| |_|\\__,_|\\__,_|_| v1.1.1\n"
banner5 := " \\___\\__,_|_| |_|\\__,_|\\__,_|_| v1.1.2\n"
banner6 := ""
banner7 := " > github.com/edoardottt/cariddi\n"
banner8 := " > edoardoottavianelli.it\n"