Skip to content

frittlechasm/sitescrape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sitescrape

  • A simple script which parses though a sitemap and dumps all urls in the sitemap in a text file
  • All urls get listed in a file called urls.txt under /tmp/site/<domain>/ along with the XML version of each sitemap and nested sitemap.

Manual validation

Run the script with a sitemap URL:

./sitescrape https://example.com/sitemap.xml

Then confirm it wrote the expected files under /tmp/site:

find /tmp/site -maxdepth 2 -type f

You should see a domain folder containing urls.txt and any fetched sitemap XML files.

About

Simple Bash Script for crawling and scraping

Topics

Resources

License

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages