We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b700ee commit 1d4dbdaCopy full SHA for 1d4dbda
.github/workflows/main.yml
@@ -45,21 +45,7 @@ jobs:
45
- name: Test tracker availability
46
shell: bash
47
run: |
48
- > trackers_best.txt
49
- while IFS= read -r tracker; do
50
- if [[ "$tracker" == http* ]]; then
51
- # Check HTTP/HTTPS tracker
52
- if curl --connect-timeout 10 --max-time 10 -sI "$tracker" | grep -q "HTTP/"; then
53
- echo "$tracker" >> trackers_best.txt
54
- fi
55
- elif [[ "$tracker" == udp* ]]; then
56
- # Check UDP tracker
57
- tracker_url=$(echo "$tracker" | sed 's/udp:\/\///')
58
- if echo -n '' | nc -w 3 -u "${tracker_url%%:*}" "${tracker_url##*:}"; then
59
60
61
62
- done < trackers_all.txt
+ bash test_trackers.sh trackers_all.txt
63
64
- name: Commit and Push changes
65
0 commit comments