Skip to content

Commit

Permalink
fix: follow an update of the AutoPagerize database on wedata
Browse files Browse the repository at this point in the history
  • Loading branch information
iorate committed Mar 13, 2020
1 parent 35d8c8e commit 3541b32
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/scripts/engines/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ if (!mobile({ tablet: true })) {
},
// AutoPagerize
{
getDynamicElements: getDynamicElements('.autopagerize_page_info ~ .bkWMgd', '.g'),
getDynamicElements: getDynamicElements(
'.autopagerize_page_info + #res, .autopagerize_page_info ~ .bkWMgd',
'.g',
),
},
],
},
Expand Down Expand Up @@ -150,7 +153,10 @@ if (!mobile({ tablet: true })) {
dynamicElementHandlers: [
// AutoPagerize
{
getDynamicElements: getDynamicElements('.autopagerize_page_info + .bkWMgd', '.Yr5TG, .g'),
getDynamicElements: getDynamicElements(
'.autopagerize_page_info + #res, .autopagerize_page_info + .bkWMgd',
'.Yr5TG, .g',
),
},
],
},
Expand Down Expand Up @@ -233,8 +239,8 @@ if (!mobile({ tablet: true })) {
dynamicElementHandlers: [
{
getDynamicElements: getDynamicElements(
'.autopagerize_page_info + .bkWMgd',
'.gG0TJc, .YiHbdc, .ErI7Gd, .top',
'.autopagerize_page_info + #res, .autopagerize_page_info + .bkWMgd',
'#rso > div, .gG0TJc, .YiHbdc, .ErI7Gd, .top',
),
},
],
Expand All @@ -257,7 +263,10 @@ if (!mobile({ tablet: true })) {
dynamicElementHandlers: [
// AutoPagerize
{
getDynamicElements: getDynamicElements('.autopagerize_page_info + .bkWMgd', '.g'),
getDynamicElements: getDynamicElements(
'.autopagerize_page_info + #res, .autopagerize_page_info + .bkWMgd',
'.g',
),
},
],
},
Expand Down

0 comments on commit 3541b32

Please sign in to comment.