Skip to content

Commit

Permalink
Update multi_test.sh
Browse files Browse the repository at this point in the history
去掉写ip
因为tonkiang加了验证,python取的端口号被改了,ip文件只能另外整理了。
  • Loading branch information
redrainl authored May 3, 2024
1 parent 7d74b27 commit 544dcea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest/multi_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ echo "===============从tonkiang检索最新ip================="
python3 hoteliptv.py $channel_key >test.html
grep -o "href='hotellist.html?s=[^']*'" test.html>temp.txt
# sed -n "s/.*href='hotellist.html?s=\([^']*\)'.*/\1/p" temp.txt > $filename
sed -n "s/^.*href='hotellist.html?s=\([^:]*:[0-9]*\).*/\1/p" temp.txt | sort | uniq > $filename
# sed -n "s/^.*href='hotellist.html?s=\([^:]*:[0-9]*\).*/\1/p" temp.txt | sort | uniq > $filename
rm -f test.html


Expand Down

0 comments on commit 544dcea

Please sign in to comment.