data_collection/gazette/spiders/rn_sao_goncalo_do_amarante.py
def start_requests(self):
        """
        Yields a request for the new page and a request for each year from the start date to the transition date
        """
        yield scrapy.Request(self.NEW_URL, callback=self.parse_page_after_transition)

        if self.start_date < self.transition_date:
            for year in list(
                range(self.start_date.year, self.transition_date.year + 1)
            ):
                yield scrapy.Request(
                    self.OLD_URL.format(year=year),
                    callback=self.parse_page_before_transition,
                )

        Yields a request for the new page and a request for each year from the start date to the transition date
        
Yields a request for the new page and a request for each year from the start date to the transition date
Yields a request for the new page and a request for each year from the start date to the transition date
def start_requests(self):
        yield scrapy.Request(self.NEW_URL, callback=self.parse_page_after_transition)
        if self.start_date < self.transition_date:
            for year in list(
                range(self.start_date.year, self.transition_date.year + 1)
            ):
                yield scrapy.Request(
                    self.OLD_URL.format(year=year),
                    callback=self.parse_page_before_transition,
                )
def start_requests ( self ) : yield scrapy . Request ( self . NEW_URL , callback = self . parse_page_after_transition ) if self . start_date < self . transition_date : for year in list ( range ( self . start_date . year , self . transition_date . year + 1 ) ) : yield scrapy . Request ( self . OLD_URL . format ( year = year ) , callback = self . parse_page_before_transition , )
Yields a request for the new page and a request for each year from the start date to the transition date
Yields a request for the new page and a request for each year from the start date to the transition date
"""
        Yields a request for the new page and a request for each year from the start date to the transition date
        """
self