1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 from telemetry
.page
import page
as page_module
5 from telemetry
.page
import page_set
as page_set_module
8 class IntlEsFrPtBrPage(page_module
.Page
):
10 def __init__(self
, url
, page_set
):
11 super(IntlEsFrPtBrPage
, self
).__init
__(url
=url
, page_set
=page_set
)
12 self
.user_agent_type
= 'desktop'
13 self
.archive_data_file
= 'data/intl_es_fr_pt-BR.json'
16 class IntlEsFrPtBrPageSet(page_set_module
.PageSet
):
19 Popular pages in Romance languages Spanish, French and Brazilian Portuguese.
23 super(IntlEsFrPtBrPageSet
, self
).__init
__(
24 user_agent_type
='desktop',
25 archive_data_file
='data/intl_es_fr_pt-BR.json',
26 bucket
=page_set_module
.PARTNER_BUCKET
)
31 # pylint: disable=C0301
32 'http://www.ebay.es/sch/i.html?_sacat=382&_trkparms=clkid%3D6548971389060485883&_qi=RTM1381637',
33 'http://www.eltiempo.es/talavera-de-la-reina.html',
34 'http://www.free.fr/adsl/index.html',
35 'http://www.voila.fr/',
36 'http://www.leboncoin.fr/annonces/offres/limousin/',
37 'http://www.orange.fr/',
38 # Why: #5 site in Brazil
39 'http://www.uol.com.br/',
40 # Why: #10 site in Brazil
41 # pylint: disable=C0301
42 'http://produto.mercadolivre.com.br/MLB-468424957-pelicula-protetora-smartphone-h5500-e-h5300-43-frete-free-_JM'
46 self
.AddUserStory(IntlEsFrPtBrPage(url
, self
))