Last active
January 14, 2025 17:12
-
-
Save Gamewalker/8733f9fcdf704bf03eb5 to your computer and use it in GitHub Desktop.
Prints Mod IDs for Steam Workshop Collection ID (SpaceEngineers Server helper)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $file = file_get_contents("http://steamcommunity.com/sharedfiles/filedetails/?id=493980032"); | |
| $muster = '<a href="http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/\?id=([0-9]+)">'; | |
| preg_match_all($muster, $file, $match); | |
| $arr = array_unique(array_values($match[1])); | |
| sort($arr); | |
| foreach($arr as $val) { | |
| print $val . "<br/>"; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment