Commit ac42c77b authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[perf] Add browse:news:reddit:2018 system health story

Bug: 878390
Change-Id: Ibdc7919fb7658858b16227976e7e74c9eb74a007
Reviewed-on: https://chromium-review.googlesource.com/c/1261448Reviewed-by: default avatarJuan Antonio Navarro Pérez <perezju@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597092}
parent 4c213151
...@@ -45,6 +45,9 @@ ...@@ -45,6 +45,9 @@
"browse:news:reddit": { "browse:news:reddit": {
"DEFAULT": "system_health_desktop_016.wprgo" "DEFAULT": "system_health_desktop_016.wprgo"
}, },
"browse:news:reddit:2018": {
"DEFAULT": "system_health_desktop_907087980d.wprgo"
},
"browse:search:google": { "browse:search:google": {
"DEFAULT": "system_health_desktop_037.wprgo" "DEFAULT": "system_health_desktop_037.wprgo"
}, },
......
095d91e4f10176ea40eced02a9e656a5e131e3c8
\ No newline at end of file
907087980d52d972104ce9b71ab50d7a8b6a52e0
\ No newline at end of file
...@@ -247,6 +247,16 @@ class RedditDesktopStory(_ArticleBrowsingStory): ...@@ -247,6 +247,16 @@ class RedditDesktopStory(_ArticleBrowsingStory):
TAGS = [story_tags.YEAR_2016] TAGS = [story_tags.YEAR_2016]
class RedditDesktopStory2018(_ArticleBrowsingStory):
"""The top website in http://www.alexa.com/topsites/category/News"""
NAME = 'browse:news:reddit:2018'
URL = 'https://www.reddit.com/r/news/top/?sort=top&t=week'
IS_SINGLE_PAGE_APP = True
ITEM_SELECTOR = 'article'
SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
TAGS = [story_tags.YEAR_2018]
class RedditMobileStory(_ArticleBrowsingStory): class RedditMobileStory(_ArticleBrowsingStory):
"""The top website in http://www.alexa.com/topsites/category/News""" """The top website in http://www.alexa.com/topsites/category/News"""
NAME = 'browse:news:reddit' NAME = 'browse:news:reddit'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment