change the method of creating the urls

using tuple to save the channels information