Skip to content

[Bandcamp] fix: Fix bandcamp search #13476#1493

Open
absurdlylongusername wants to merge 2 commits into
TeamNewPipe:devfrom
absurdlylongusername:bandcamp/fix/fix-bandcamp-search-13476
Open

[Bandcamp] fix: Fix bandcamp search #13476#1493
absurdlylongusername wants to merge 2 commits into
TeamNewPipe:devfrom
absurdlylongusername:bandcamp/fix/fix-bandcamp-search-13476

Conversation

@absurdlylongusername
Copy link
Copy Markdown
Member

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

Bandcamp has introduced anti-bot checks on their search.

For some reason, passing a cookie of "Cookie: identity" bypasses this check. I presume this is because the cookie used to authenticate logged in users is identity, but for some reason it works if you do not set a value.
Setting a value for identity does not work.

See TeamNewPipe/NewPipe#13476 for more information.

Fixes: TeamNewPipe/NewPipe#13476

  • Added Cookie: identity to headers for BandcampSearchExtractor.getPage
  • Added NewPipe e.V. copyright header to BandcampSearchExtractor

@absurdlylongusername absurdlylongusername added bug Issue or PR is related to a bug ASAP Issue needs to be fixed as soon as possible Bandcamp Service, https://bandcamp.com labels May 24, 2026
@TobiGr
Copy link
Copy Markdown
Contributor

TobiGr commented May 25, 2026

Thanks! You need to update the mocks because the request das changed

@sonarqubecloud
Copy link
Copy Markdown

@absurdlylongusername
Copy link
Copy Markdown
Member Author

@TobiGr Done

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

Labels

ASAP Issue needs to be fixed as soon as possible Bandcamp Service, https://bandcamp.com bug Issue or PR is related to a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Unable to search any artist on Bandcamp

2 participants