data_collection/gazette/spiders/pr_curitiba.py
def parse_regular_edition(self, response):
        """Parses page for regular edition to build its item."""
        parsed_date = response.meta["parsed_date"]
        gazette_id = response.selector.re_first(r"Id=(\d+)")
        return Gazette(
            date=parsed_date,
            file_urls=[
                f"https://legisladocexterno.curitiba.pr.gov.br/DiarioConsultaExterna_Download.aspx?Id={gazette_id}"
            ],
            is_extra_edition=False,
            power="executive_legislative",
        )
Parses page for regular edition to build its item.
Parses page for regular edition to build its item.
Parses page for regular edition to build its item .
def parse_regular_edition(self, response):
        parsed_date = response.meta["parsed_date"]
        gazette_id = response.selector.re_first(r"Id=(\d+)")
        return Gazette(
            date=parsed_date,
            file_urls=[
                f"https://legisladocexterno.curitiba.pr.gov.br/DiarioConsultaExterna_Download.aspx?Id={gazette_id}"
            ],
            is_extra_edition=False,
            power="executive_legislative",
        )
def parse_regular_edition ( self , response ) : parsed_date = response . meta [ "parsed_date" ] gazette_id = response . selector . re_first ( r"Id=(\d+)" ) return Gazette ( date = parsed_date , file_urls = [ f"https://legisladocexterno.curitiba.pr.gov.br/DiarioConsultaExterna_Download.aspx?Id={gazette_id}" ] , is_extra_edition = False , power = "executive_legislative" , )
Parses page for regular edition to build its item.
Parses page for regular edition to build its item .
"""Parses page for regular edition to build its item."""
self
response