Skip to content

Commit 01ef80d

Browse files
committed
chore: update templates
1 parent edfa2be commit 01ef80d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

chrome-extension/lib/background/set-templates.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScraperService } from '@univer-clipsheet-core/scraper';
1+
import { defaultIntervals, ScraperService } from '@univer-clipsheet-core/scraper';
22
import { TableService } from '@univer-clipsheet-core/table';
33
import type { Injector } from '@wendellhu/redi';
44

@@ -2001,8 +2001,8 @@ export async function setTemplate(injector: Injector) {
20012001
},
20022002
],
20032003
config: {
2004-
maxInterval: 6,
2005-
minInterval: 3,
2004+
minInterval: defaultIntervals.min,
2005+
maxInterval: defaultIntervals.max,
20062006
},
20072007
createAt: 1734504245.554,
20082008
description: '',
@@ -2164,8 +2164,8 @@ export async function setTemplate(injector: Injector) {
21642164
],
21652165
config: {
21662166
buttonSelector: 'div#a-page:nth-last-of-type(4)>div#search:nth-last-of-type(5)>div.s-desktop-width-max.s-desktop-content.s-opposite-dir.s-wide-grid-style.sg-row:nth-last-of-type(2)>div.sg-col-20-of-24.s-matching-dir.sg-col-16-of-20.sg-col.sg-col-8-of-12.sg-col-12-of-16:nth-last-of-type(2)>div.sg-col-inner:nth-last-of-type(1)>span.rush-component.s-latency-cf-section:nth-last-of-type(2)>div.s-main-slot.s-result-list.s-search-results.sg-row:nth-last-of-type(2)>div.a-section.a-spacing-none.s-result-item.s-flex-full-width.s-widget.s-widget-spacing-large:nth-last-of-type(3)>div.s-widget-container.s-spacing-medium.s-widget-container-height-medium.celwidget.slot\\=MAIN.template\\=PAGINATION.widgetId\\=pagination-button:nth-last-of-type(1)>div.a-section.a-text-center.s-pagination-container:nth-last-of-type(1)>span.s-pagination-strip:nth-last-of-type(1)>ul.a-unordered-list.a-horizontal.s-unordered-list-accessibility:nth-last-of-type(1)>li.s-list-item-margin-right-adjustment:nth-last-of-type(1)>span.a-list-item:nth-last-of-type(1)>a.s-pagination-item.s-pagination-next.s-pagination-button.s-pagination-button-accessibility.s-pagination-separator:nth-last-of-type(1)',
2167-
maxInterval: 6,
2168-
minInterval: 3,
2167+
minInterval: defaultIntervals.min,
2168+
maxInterval: defaultIntervals.max,
21692169
},
21702170
createAt: 1734494960.877,
21712171
description: '',

0 commit comments

Comments
 (0)