Python: can not save all links to a dict in json file, only the last one
I wrote this code in python to get all the links and to put them in a json file, but for some reason i am only getting the last link (website and class see in the code). Any ideas, why…