-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
plugin: amazonIssues related to amazon pluginIssues related to amazon plugin
Description
Hi,
at least for me the Amazon selectors have changed so that docudigger doesn't find any invoices. Just in case someone comes accross the same problem, this worked for me:
Changes in selector.helper.js:
//orderCards: `div.order.js-order-card`,
orderCards: `div.order-card.js-order-card`,
//orderNr: `.yohtmlc-order-id span:nth-last-child(1) bdi`,
orderNr: `.yohtmlc-order-id span:nth-last-child(1)`,
//yearFilter: `select[name='orderFilter']#orderFilter`,
yearFilter: `select[name='timeFilter']#time-filter`,
Changes in amazon/index.js:
async goToYearAndPage(year, orderPage, amazon) {
...
// const nextPageUrl = new URL(`?ie=UTF8&orderFilter=year-${year}&search=&startIndex=${10 * (orderPage)}`, amazon.orderPage);
const nextPageUrl = new URL(`?ie=UTF8&timeFilter=year-${year}&search=&startIndex=${10 * (orderPage)}&ref_=ppx_yo2ov_dt_b_filter_all_y${year}`, amazon.orderPage);
cu,
Frank
dosubot
Metadata
Metadata
Assignees
Labels
plugin: amazonIssues related to amazon pluginIssues related to amazon plugin