c4software / python-sitemap

Mini website crawler to make sitemap from a website.
GNU General Public License v3.0
366 stars 110 forks source link

HTTPS urls #23

Closed wernerb90 closed 7 years ago

wernerb90 commented 7 years ago

Hi,

I noticed that even though the links in the page doesn't specify this, the tag always defaults to http://, even when the <a href="/"></a> doesn't include the domain?

i.e. with this command:

python3 main.py --domain https://www.****/ --images --output sitemap.xml --verbose

I get:

image

c4software commented 7 years ago

Nice catch

wernerb90 commented 7 years ago

Works for me - thanks!