Hi folks!
First of all - nice work! I have integrated the script (slightly modified) into our community website.
Only one thing: if you put in just the community ID like 7656119XXXXXXXXXX it gives you a "Error: invalid input" ...
If you put in the complete URL
http://steamcommunity.com/profiles/7656119XXXXXXXXXX it works perfectly.
Tested as well at noobsticks.com - same error.