Script to catch and collect links posted in channels