def _get_pages(self, locations, project_name):<EOL>
seen = set()  <EOL>for location in locations:<EOL><INDENT>if location in seen:<EOL><INDENT>continue<EOL><DEDENT>seen.add(location)<EOL>page = _get_html_page(location, session=self.session)<EOL>if page is None:<EOL><INDENT>continue<EOL><DEDENT>yield page<EOL><DEDENT>
Yields (page, page_url) from the given locations, skipping
locations that have errors.