FIX Retrieve data for resources by URL

The behavior was broken by 2ee1a69 since that commit changed the way
in which the endpoint was selected: instead of hitting /channels or
/videos, the endpoint was changed to /resources (which does not exist).
Merge branch 'fix-resources'