The old method which channel IDs are obtained via username was unreliable. Occasionally it resulted in a big blob of json being put into your links file. This patch fixes that, using a different method of getting a channel ID from a username.