fix: Output markdown files should end in *.rollup.md

This commit is contained in:
Arik Jones
2024-09-19 10:56:00 -05:00
parent 197f3affc7
commit d3ba28d03b
3 changed files with 5 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ func writeMultipleFiles(content map[string]string) error {
func generateDefaultFilename(urls []string) string {
timestamp := time.Now().Format("20060102-150405")
return fmt.Sprintf("rollup-web-%s.md", timestamp)
return fmt.Sprintf("web-%s.rollup.md", timestamp)
}
func scrapeRecursively(urlStr string, depth int) (string, error) {