Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Maxghp/4de63b61e5b978ff1b9090b7f914a488 to your computer and use it in GitHub Desktop.
Save Maxghp/4de63b61e5b978ff1b9090b7f914a488 to your computer and use it in GitHub Desktop.
#double dict cycle for key => value (value have random elements)
#double dict cycle for key => value (value have random elements)
with open('items.json') as data_file:
links = json.load(data_file)
start_urls = []
start_urls1 = []
for link in links:
start_urls.append(link)
for urls in start_urls:
for url in urls['link']:
start_urls1.append("http://www.investopedia.com" + url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment