[common] add separate method for getting netrc ligin info
[youtube-dl] / bin /
drwxr-xr-x   ..
-rwxr-xr-x 91 youtube-dl