title: How to create a script that submits URLs and reads data from resulting page?
body: <p>I'm very new at this - my first time writing any kind of web related script. I'm trying to create a script that submits a variable URL in browser then reads data from a specific DOM element of the resulting page.</p>
  
  <p>Basically, I have a huge list of words. I want to automate the process of going to URLs that end in each word (ex: if my list were ['apple','banana','carrot'], and my base URL was www.example.com, I want to go to www.example.com/apple, www.example.com/banana, www.example.com/carrot). Then, at each page, I know the specific DOM element that I want to read data from and then return it back to me.</p>
  
  <p>How would I go about doing this? Any pointers in the right direction would be great! Thanks in advance :) </p>