Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25b2375

Browse files
committed
Bug fix for crawling over non-80 port
1 parent adc8ac2 commit 25b2375

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/crawler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def crawlThread():
123123
test = readInput(message, default="Y")
124124
if test[0] not in ("n", "N"):
125125
items = None
126-
url = "%s://%s/sitemap.xml" % (conf.scheme, conf.hostname)
126+
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
127127
try:
128128
items = parseSitemap(url)
129129
except:

0 commit comments

Comments
 (0)