urlencode doesnt work on generators, change to list