Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [split] Reading json from webpage
#1
#
# url is defined above.
#
jsonurl = urlopen(url)

#
# While trying to debug, I put this in:
#
print jsonurl

#
# Was hoping text would contain the actual json crap from the URL, but seems not...
#
text = json.loads(jsonurl)
print text
Quote
#2
Please post minimal, complete and verifiable example. Post your code in python tags.
What is the output you get?
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Split of key from JSON response aswini_dubey 1 140 Dec-04-2019, 06:54 PM
Last Post: Larz60+
  [split] Print JSON Dictionary to Excel? venukommu 1 224 Nov-15-2019, 09:33 PM
Last Post: micseydel
  Reading json behind a login page ebolisa 3 462 May-26-2019, 05:15 PM
Last Post: heiner55
  Reading JSON - error jmair 2 274 May-22-2019, 07:25 PM
Last Post: jmair
  [split] How to insert JSON into MSSQL gehrenfeld 3 586 Jan-27-2019, 06:20 PM
Last Post: micseydel
  Reading json from webpage jmair 4 779 Jan-10-2019, 09:14 PM
Last Post: jmair
  Reading complex JSON dictionaries Gromis 5 872 Jul-08-2018, 10:26 PM
Last Post: Gromis
  [split] Json to CSV satish 5 1,701 Jul-12-2017, 03:30 PM
Last Post: micseydel

Forum Jump:


Users browsing this thread: 1 Guest(s)