mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
Merge pull request #270 from internetarchive/moma-behavior
MOMA behavior
This commit is contained in:
commit
2f49b37076
@ -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,8 +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: 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
|
- # 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…
x
Reference in New Issue
Block a user