added stop/resume on found the first item
This commit is contained in:
+2
-1
@@ -97,7 +97,8 @@ def _migrate(conn: sqlite3.Connection) -> None:
|
||||
"max_pages": "INTEGER NOT NULL DEFAULT 10",
|
||||
"pagination_wait_ms": "INTEGER NOT NULL DEFAULT 1500",
|
||||
"target_url": "TEXT NOT NULL DEFAULT ''",
|
||||
"scenario": "TEXT NOT NULL DEFAULT 'dynamic'",
|
||||
"scenario": "TEXT NOT NULL DEFAULT 'dynamic'",
|
||||
"stop_on_first_click": "INTEGER NOT NULL DEFAULT 0",
|
||||
}
|
||||
for col, definition in additions.items():
|
||||
if col not in existing:
|
||||
|
||||
@@ -17,7 +17,7 @@ _FIELDS = [
|
||||
"max_scrolls", "scroll_pause_ms", "no_new_content_timeout_ms",
|
||||
"pagination_selector", "pagination_selector_type", "max_pages", "pagination_wait_ms",
|
||||
"item_selector_template", "item_selector_type", "item_url_template", "target_item_ids_json",
|
||||
"target_url", "scenario",
|
||||
"target_url", "scenario", "stop_on_first_click",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user