def _get_collectionId(self, text):

        m = re.search('var reportId = "([^"]+)"', text)
        collectionId = m.group(1)
        return collectionId
gets id of the collection to poll. in the real report page, this is done
dataset/ETHPy150Open Impactstory/total-impact-core/totalimpact/fakes.py/ReportPage._get_collectionId