Handle --get-url with merged formats (fixes #2883)

Outputs one URL per line
Merge pull request #4395 from cryptonaut/issue2883

Handle --get-url with merged formats (fixes #2883)