mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-22 14:30:53 -04:00
Merge branch 'moma-behavior' into qa
This commit is contained in:
commit
792c1b47e7
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# brozzler/behaviors.yaml - behavior configuration
|
# 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");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -157,9 +157,12 @@
|
||||||
url_regex: '^https?://(?:www\.)?moma.org/.*$'
|
url_regex: '^https?://(?:www\.)?moma.org/.*$'
|
||||||
behavior_js_template: umbraBehavior.js.j2
|
behavior_js_template: umbraBehavior.js.j2
|
||||||
default_parameters:
|
default_parameters:
|
||||||
|
interval: 300
|
||||||
actions:
|
actions:
|
||||||
- selector: 'div.link\/focus'
|
- selector: 'div.link\/focus'
|
||||||
|
limit: 1
|
||||||
- selector: 'button.link\/focus'
|
- selector: 'button.link\/focus'
|
||||||
|
repeatSameElement: true
|
||||||
- # https://webarchive.jira.com/browse/ARI-4692
|
- # https://webarchive.jira.com/browse/ARI-4692
|
||||||
url_regex: '^https?://(?:www\.)?fec.gov/data/.*$'
|
url_regex: '^https?://(?:www\.)?fec.gov/data/.*$'
|
||||||
behavior_js_template: fec_gov.js
|
behavior_js_template: fec_gov.js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue