Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: use google-sitemap xml as source for target-urls #211

Open
typoworx-de opened this issue May 24, 2022 · 1 comment
Open

feature: use google-sitemap xml as source for target-urls #211

typoworx-de opened this issue May 24, 2022 · 1 comment

Comments

@typoworx-de
Copy link

Feature-Request:
It would be awesome to simply have a new parameter making it possible to give the tool a sitemap.xml file|url to parse all testing URLs from. I know it's possible using grep and some external tools as well. But this would make the whole thing 'more handy' :-)

@infojunkie
Copy link

For what it's worth, here's how I handle sitemaps:

wget -q $BASE_URL/sitemap.xml -O sitemap.xml
xmllint --xpath "//*[local-name()='loc']/text()" sitemap.xml >> urls.txt

and then run siege against this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants