main which prints list from URL