code: def mode_interactive(options):
      
      articles = set()
      failures = set()
  
      url = input('Enter a URL: ')
      while url != '':
          article = _get_article(url=url, bodyLines=options.bodyLines, debug=options.debug)
          if (article):
              articles.add(article)
          else:
              failures.add(url)
          url = input('Enter a URL (press enter to end): ')
  
      _output(articles, options.outputFile, failures, options.failureFile)
docs: Interactive Mode: terminal prompts repeatedly for a url to fetch