diff --git a/brozzler/behaviors.yaml b/brozzler/behaviors.yaml index 8aa98ef..db97a55 100644 --- a/brozzler/behaviors.yaml +++ b/brozzler/behaviors.yaml @@ -55,8 +55,8 @@ behavior_js_template: umbraBehavior.js.j2 default_parameters: actions: - - selector: .slideshow - - selector: .slideshow-overlay__container__left__nav__next + - selector: .slideshow-card__overlay + - selector: .slideshow__next - url_regex: '^https?://(?:www\.)?brooklynmuseum\.org/exhibitions/.*$' behavior_js_template: simpleclicks.js.j2 @@ -106,7 +106,14 @@ click_css_selector: button.playButton.medium click_until_hard_timeout: False request_idle_timeout_sec: 10 -- # https://webarchive.jira.com/browse/ARI-5453 / ARI-5391 +- # https://webarchive.jira.com/browse/ARI-4690 + url_regex: '^https?://(?:www\.)?youtube.com/.*$' + behavior_js_template: simpleclicks.js.j2 + default_parameters: + click_css_selector: span.load-more-text + click_until_hard_timeout: False + request_idle_timeout_sec: 10 +- # https://webarchive.jira.com/browse/ARI-5453 url_regex: '^https?://.*\.wixsite.com/.*$' behavior_js_template: simpleclicks.js.j2 default_parameters: diff --git a/brozzler/js-templates/umbraBehavior.js.j2 b/brozzler/js-templates/umbraBehavior.js.j2 index 7947adf..10b8e14 100644 --- a/brozzler/js-templates/umbraBehavior.js.j2 +++ b/brozzler/js-templates/umbraBehavior.js.j2 @@ -24,6 +24,8 @@ var umbraBehavior = { intervalId : null, state : null, + //actions : [{'selector': 'div.teaser, li.pager__item a'}], + //actions : [{'selector': '.slideshow-card__overlay'}, {'selector': '.slideshow__next'}], actions : {{actions|json}}, k : 0,