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 IntlKoThViPage(page_module
.Page
):
10 def __init__(self
, url
, page_set
):
11 super(IntlKoThViPage
, self
).__init
__(url
=url
, page_set
=page_set
)
12 self
.user_agent_type
= 'desktop'
13 self
.archive_data_file
= 'data/intl_ko_th_vi.json'
16 class IntlKoThViPageSet(page_set_module
.PageSet
):
18 """ Popular pages in Korean, Thai and Vietnamese. """
21 super(IntlKoThViPageSet
, self
).__init
__(
22 user_agent_type
='desktop',
23 archive_data_file
='data/intl_ko_th_vi.json',
24 bucket
=page_set_module
.PARTNER_BUCKET
)
27 # Why: #7 site in Vietnam
28 'http://us.24h.com.vn/',
29 # Why: #6 site in Vietnam
30 'http://vnexpress.net/',
31 # Why: #18 site in Vietnam
32 'http://vietnamnet.vn/',
33 # Why: #5 site in Vietnam
34 # pylint: disable=C0301
35 'http://news.zing.vn/the-gioi/ba-dam-thep-margaret-thatcher-qua-doi/a312895.html#home_noibat1',
36 'http://kenh14.vn/home.chn',
37 # Why: #5 site in Korea
38 'http://www.naver.com/',
39 # Why: #9 site in Korea
40 'http://www.daum.net/',
41 # Why: #25 site in Korea
42 'http://www.donga.com/',
43 'http://www.chosun.com/',
44 'http://www.danawa.com/',
45 # Why: #10 site in Thailand
47 'http://thaimisc.com/'
51 self
.AddUserStory(IntlKoThViPage(url
, self
))