Skip to content

Commit

Permalink
portugal_base: Remove duplicate class attributes from merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Feb 9, 2021
1 parent cfa6835 commit e2acb31
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions kingfisher_scrapy/spiders/portugal_base.py
Expand Up @@ -5,19 +5,16 @@


class PortugalBase(LinksSpider):
# BaseSpider
default_from_date = '2010-01-01'

# LinksSpider
next_page_formatter = staticmethod(parameters('offset'))

# We will wait 1, 2, 4, 8, 16 minutes (31 minutes total).
max_retries = 5
half_initial_wait_time = 30

# BaseSpider
default_from_date = '2010-01-01'

# LinksSpider
next_page_formatter = staticmethod(parameters('offset'))

def start_requests(self):
url = self.url
if self.from_date and self.until_date:
Expand Down

0 comments on commit e2acb31

Please sign in to comment.