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