diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e82930e..8369e23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,14 +18,14 @@ jobs: - name: Check non-Medium/arXiv URLs run: | awesome_bot README.md --allow-redirect \ - --request-delay 2 \ - --set-timeout 10 \ + --request-delay 0.2 \ + --set-timeout 2 \ --white-list medium.com,arxiv.org - name: Check Medium URLs run: | medium_urls=$(grep -Eo 'https?://[^[:space:]]+medium.com[^[:space:]]*' README.md) if [ ! -z "$medium_urls" ]; then - awesome_bot $medium_urls --allow-redirect --request-delay 5 + echo "$medium_urls" | awesome_bot --allow-redirect --request-delay 5 --set-timeout 10 - else echo "No Medium URLs found" fi @@ -33,7 +33,7 @@ jobs: run: | arxiv_urls=$(grep -Eo 'https?://arxiv.org[^[:space:]]*' README.md) if [ ! -z "$arxiv_urls" ]; then - awesome_bot $arxiv_urls --allow-redirect --request-delay 15 --set-timeout 20 + awesome_bot $arxiv_urls --allow-redirect --request-delay 30 --set-timeout 40 else echo "No arXiv URLs found" fi