The code for this script to detect streaming media unlocking is all from the open source project https://github.com/lmc999/RegionRestrictionCheck , and the open source protocol is AGPL-3.0. This script is open source as required by the open source license. Thanks to the original author @lmc999 and everyone who made the pull request for this project for their contributions.
wget https://raw.githubusercontent.com/iamsaltedfish/check-stream-media/main/csm.sh
bash csm.sh
wget https://raw.githubusercontent.com/aipeach/check-stream-media/main/csm-s5.sh