Jul-23-2018, 07:06 PM
Whatever you're getting from the server isn't valid json. Because it isn't valid, the json module can't parse it.
(Jul-23-2018, 02:48 PM)saisankalpj Wrote: THe input to json.loads here is a string in html formatIf this is accurate, then that's your issue. HTML is not json. A json parser won't understand html. Try BeautifulSoup instead :)