title: Single key printing for each value
body: <p>I am using python to run a for loop to print out every value in a specific URL, but each value is printing to a new dictionary with the same key instead of inserting multiple values into one dictionary.</p>
  
  <p>How can I get the all the values for a specific key to be inserted into a single unique key?</p>
  
  <pre><code>kernelLinks = []
  
  for values in output:
    links = links + ([("https://www.kaggle.com" + (values["scriptUrl"]))])
  
  driver = webdriver.Chrome()
  method = {}
  dictionary = []
  
  for url in links: 
      driver.get(url)
      driver.switch_to_frame(driver.find_element_by_tag_name("iframe"))
      data = driver.page_source
      data2 = BeautifulSoup(data, "lxml")
  
      for a in data2.find_all('span', class_="n"):
          data2 = BeautifulSoup(data, "lxml")
          dictionary = {}
          kernel = url
          method = a.text
          dictionary[kernel] = method
          print(dictionary)
  </code></pre>
  
  <p>current output:</p>
  
  <p>{'<a href="https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners" rel="nofollow noreferrer">https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners</a>': 'check_output'}
  {'<a href="https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners" rel="nofollow noreferrer">https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners</a>': 'data'}
  {'<a href="https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners" rel="nofollow noreferrer">https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners</a>': 'decode'}
  .....</p>
  
  <p>desired output: </p>
  
  <p>{'<a href="https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners" rel="nofollow noreferrer">https://www.kaggle.com/kanncaa1/data-sciencetutorial-for-beginners</a>': 'check_output', 'data', 'decode}</p>