Skip to content

Commit

Permalink
Add Fenix daily platform handling (mozilla#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
piri-p committed Apr 28, 2024
1 parent ac6f227 commit c9d776c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mozdownload/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ def get_latest_build_date(self):
months.entries[-1] + '/')
parser = self._create_directory_parser(url)
parser.entries = parser.filter(r'.*%s' % self.platform_regex)
if not parser.entries:
raise errors.NotSupportedError('Selected platform not available')
parser.entries.sort()

date = ''.join(parser.entries[-1].split('-')[:6])
Expand Down

0 comments on commit c9d776c

Please sign in to comment.