| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry.page import shared_page_state | 5 from telemetry.page import shared_page_state |
| 6 from telemetry import story | 6 from telemetry import story |
| 7 | 7 |
| 8 | 8 |
| 9 class IntlHiRuPage(page_module.Page): | 9 class IntlHiRuPage(page_module.Page): |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 def __init__(self): | 22 def __init__(self): |
| 23 super(IntlHiRuPageSet, self).__init__( | 23 super(IntlHiRuPageSet, self).__init__( |
| 24 archive_data_file='data/intl_hi_ru.json', | 24 archive_data_file='data/intl_hi_ru.json', |
| 25 cloud_storage_bucket=story.PARTNER_BUCKET) | 25 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 26 | 26 |
| 27 urls_list = [ | 27 urls_list = [ |
| 28 # Why: #12 site in Russia | 28 # Why: #12 site in Russia |
| 29 'http://www.rambler.ru/', | 29 'http://www.rambler.ru/', |
| 30 'http://apeha.ru/', | 30 'http://apeha.ru/', |
| 31 # pylint: disable=C0301 | 31 # pylint: disable=line-too-long |
| 32 'http://yandex.ru/yandsearch?lr=102567&text=%D0%9F%D0%BE%D0%B3%D0%BE%D0%B4
%D0%B0', | 32 'http://yandex.ru/yandsearch?lr=102567&text=%D0%9F%D0%BE%D0%B3%D0%BE%D0%B4
%D0%B0', |
| 33 'http://photofile.ru/', | 33 'http://photofile.ru/', |
| 34 'http://ru.wikipedia.org/', | 34 'http://ru.wikipedia.org/', |
| 35 'http://narod.yandex.ru/', | 35 'http://narod.yandex.ru/', |
| 36 # Why: #15 in Russia | 36 # Why: #15 in Russia |
| 37 'http://rutracker.org/forum/index.php', | 37 'http://rutracker.org/forum/index.php', |
| 38 'http://hindi.webdunia.com/', | 38 'http://hindi.webdunia.com/', |
| 39 # Why: #49 site in India | 39 # Why: #49 site in India |
| 40 'http://hindi.oneindia.in/', | 40 'http://hindi.oneindia.in/', |
| 41 # Why: #9 site in India | 41 # Why: #9 site in India |
| 42 'http://www.indiatimes.com/', | 42 'http://www.indiatimes.com/', |
| 43 # Why: #2 site in India | 43 # Why: #2 site in India |
| 44 'http://news.google.co.in/nwshp?tab=in&hl=hi' | 44 'http://news.google.co.in/nwshp?tab=in&hl=hi' |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 for url in urls_list: | 47 for url in urls_list: |
| 48 self.AddStory(IntlHiRuPage(url, self)) | 48 self.AddStory(IntlHiRuPage(url, self)) |
| OLD | NEW |