A more pythonic style way of scrapig parameters