From ce727942bec390941a9e8ad8e374f3d23971a0d3 Mon Sep 17 00:00:00 2001 From: Barbara Miller Date: Tue, 14 Nov 2017 15:09:13 -0800 Subject: [PATCH] capture top image pop-ups --- brozzler/behaviors.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/brozzler/behaviors.yaml b/brozzler/behaviors.yaml index b9b4493..5385f25 100644 --- a/brozzler/behaviors.yaml +++ b/brozzler/behaviors.yaml @@ -38,6 +38,36 @@ behavior_js_template: instagram.js request_idle_timeout_sec: 10 - +<<<<<<< Updated upstream +======= + url_regex: '^https?://(?:www\.)?pm\.gc\.ca/.*$' + behavior_js_template: umbraBehavior.js.j2 + default_parameters: + actions: + - selector: div.teaser, li.pager__item a +- # https://webarchive.jira.com/browse/ARI-5430 + url_regex: '^https?://www\.careers\.ox\.ac\.uk/.*$' + behavior_js_template: umbraBehavior.js.j2 + default_parameters: + actions: + - selector: li.breadcrumbOnPage a + closeSelector: .exit +- # https://webarchive.jira.com/browse/ARI-5241 + url_regex: '^https?://(?:www\.)?colonialart\.org/.*$' + behavior_js_template: simpleclicks.js.j2 + default_parameters: + click_css_selector: img.link-overlay + click_until_hard_timeout: False + request_idle_timeout_sec: 10 +- # https://webarchive.jira.com/browse/ARI-5389 + url_regex: '^https?://pitchfork\.com/.*$' + behavior_js_template: umbraBehavior.js.j2 + default_parameters: + actions: + - selector: div.teaser, li.pager__item a + closeSelector: .pmf-artist-modal__close-btn +- +>>>>>>> Stashed changes url_regex: '^https?://(?:www\.)?huffingtonpost\.com/.*$' behavior_js_template: huffpostslides.js request_idle_timeout_sec: 10 @@ -135,6 +165,13 @@ click_css_selector: button#ird3-button-next click_until_hard_timeout: True request_idle_timeout_sec: 10 +- # https://webarchive.jira.com/browse/ARI-5241 + url_regex: '^https?://(?:www\.)?colonialart\.org/.*$' + behavior_js_template: umbraBehavior.js.j2 + default_parameters: + actions: + - selector: img.link-overlay + closeSelector: div.close - # https://webarchive.jira.com/browse/ARI-5389 url_regex: '^https?://pitchfork\.com/.*$' behavior_js_template: pitchfork.js