'get_url.py' now take stdin as input if no input file is specified