collect the resource from web