Merge pull request #270 from internetarchive/moma-behavior

MOMA behavior
This commit is contained in:
Barbara Miller 2024-02-02 13:52:26 -08:00 committed by GitHub
commit 2f49b37076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
#
# brozzler/behaviors.yaml - behavior configuration
#
# Copyright (C) 2014-2023 Internet Archive
# Copyright (C) 2014-2024 Internet Archive
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -157,8 +157,12 @@
url_regex: '^https?://(?:www\.)?moma.org/.*$'
behavior_js_template: umbraBehavior.js.j2
default_parameters:
interval: 300
actions:
- selector: button[data-more-results-bottom-button]
- selector: 'div.link\/focus'
limit: 1
- selector: 'button.link\/focus'
repeatSameElement: true
- # https://webarchive.jira.com/browse/ARI-4692
url_regex: '^https?://(?:www\.)?fec.gov/data/.*$'
behavior_js_template: fec_gov.js