I have a list of URLs and I would like to get the URL from a specific line. For example, from this file bellow:
urls.txt
http://www.google.com
http://www.facebook.com
http://www.stackoverflow.com
I would like to create a function that I give the line number 2, and I get the URL: http://www.facebook.com. Any ideas on how to do it?