Skip to content

fix(xiaohongshu): scope image selector to avoid downloading avatars#293

Merged
jackwener merged 1 commit intomainfrom
fix/xhs-download-avatar-filter
Mar 23, 2026
Merged

fix(xiaohongshu): scope image selector to avoid downloading avatars#293
jackwener merged 1 commit intomainfrom
fix/xhs-download-avatar-filter

Conversation

@jackwener
Copy link
Owner

Narrow #noteContainer img[src*="xhscdn"] to #noteContainer .media-container img[src*="xhscdn"] to exclude user avatars and sidebar icons from downloads.

Supersedes #281 (closed due to rebase conflict from download refactoring).

Narrow '#noteContainer img[src*="xhscdn"]' to
'#noteContainer .media-container img[src*="xhscdn"]'
to exclude user avatars and sidebar icons from downloads.

Closes #281
@jackwener jackwener merged commit 3a21be6 into main Mar 23, 2026
11 of 12 checks passed
@jackwener jackwener deleted the fix/xhs-download-avatar-filter branch March 23, 2026 07:29
@jackwener
Copy link
Owner Author

Co-authored-by: pancato 75774872+pancato@users.noreply.github.com

This fix was originally reported and partially implemented by @pancato in #281. The PR was closed due to a rebase conflict from our concurrent download refactoring, but the core insight came from their contribution. Thank you @pancato! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant