Skip to content

Commit 74e8726

Browse files
author
John Goodliff
committed
Increase selector specificity for media sections
1 parent d706aef commit 74e8726

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

watch-history-exporter-for-amazon-prime-video.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122

123123
// Loop over date sections
124124
for (const dateSection of dateSections) {
125-
const mediaSections = dateSection.querySelectorAll('ul > li');
125+
const mediaSections = dateSection.querySelectorAll('& > ul > li');
126126
const dateWatched = dateSection.querySelector(
127127
'[data-automation-id^="wh-date"]',
128128
).textContent;

0 commit comments

Comments
 (0)