Webscraping: simplify the code using a for loop inside a dictionary

I’ve built a code for webscraping some brazilian news pages, but i’ve come to realize now that maybe it is unnecessarily long. I’m trying to simplify things with a for loop, but i can’t find the same results. No need for showin me a brand new code, as i’m stil learning. But if someone could […]