mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-27 08:10:45 -04:00
simpler check, interval; 500
This commit is contained in:
parent
37e1c7ed55
commit
ac4a3f9914
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
url_regex: '^https?://(?:www\.)?instagram\.com/.*$'
|
||||
behavior_js_template: umbraBehavior.js.j2
|
||||
default_parameters:
|
||||
interval: 500
|
||||
actions:
|
||||
- selector: .glyphsSpriteGrey_Close
|
||||
rmSelector: '.RnEpo'
|
||||
|
|
|
@ -110,7 +110,7 @@ class UmbraBehavior {
|
|||
}
|
||||
}
|
||||
|
||||
if (didSomething && limit && limit === i+1) {
|
||||
if (limit && limit == i) {
|
||||
this.nextAction();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue