#!/bin/bash

# Mảng chứa các URL cần thực hiện yêu cầu GET
urls=(
    "https://printerval.com/seo/builder/build-sitemaps?action=category"
    "https://printerval.com/seo/builder/build-sitemaps?action=filter"
    "https://printerval.com/seo/builder/build-sitemaps?action=event"
    "https://printerval.com/seo/builder/build-sitemaps?action=function"
    "https://printerval.com/seo/builder/build-sitemaps?action=post"
    "https://printerval.com/seo/builder/build-sitemaps?action=news"
    "https://printerval.com/seo/builder/build-sitemaps?action=landing-page"
    "https://printerval.com/seo/builder/build-sitemaps?action=tag-lasted"
    "https://printerval.com/seo/builder/build-sitemaps?action=product-lasted"
)

# User-Agent
user_agent="Mega Schedule"

for url in "${urls[@]}"
do
    echo "Sending GET request to $url"
    # Sử dụng curl để gửi yêu cầu GET với User-Agent và thiết lập timeout không giới hạn
    curl -A "$user_agent" -m 0 "$url"
done
