Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BandcampBridge] Update to use newer POST API #1045

Merged
merged 1 commit into from Feb 24, 2019

Conversation

squeek502
Copy link
Contributor

@squeek502 squeek502 commented Feb 23, 2019

Bandcamp tags pages have a new layout and now use a POST API endpoint to view each page of releases. This PR updates the Bandcamp bridge to use that new API.

Output of this bridge should be almost the same as before, with a few small improvements:

  • Small album image in 'content', larger album image in 'enclosures'
  • RSS item titles/authors are appended with the releaser in parentheses if the artist name and the releaser are different (i.e. Record Label's Bandcamp releases an album called Bar by the band named Foo, it would get the title 'Foo - Bar (Record Label)' and the author 'Foo (Record Label)')

Note: As of right now, Bandcamp seems to be A/B testing the new layout (repeating the same request to https://bandcamp.com/tag/rock?sort_field=date will sometimes get you the new layout and sometimes the old one). This means that the current bridge will unpredictably fail and produce a feed with 0 items. This PR will work 100% of the time, even while this A/B testing is going on.

@squeek502 squeek502 changed the title [BandcampBridge] Update BandcampBridge to use newer POST API [BandcampBridge] Update to use newer POST API Feb 23, 2019
Bandcamp tags pages have a new layout and now use a POST API endpoint to view each page of releases.

Output of this bridge should be almost the same as before, with a few small improvements:
- Small album image in 'content', larger album image in 'enclosures'
- RSS item titles/authors are appended with the releaser in parentheses if the artist name and the releaser are different (i.e. Record Label's Bandcamp releases an album called Bar by the band named Foo, it would get the title 'Foo - Bar (Record Label)' and the author 'Foo (Record Label)')
@logmanoriginal logmanoriginal merged commit b96c25a into RSS-Bridge:master Feb 24, 2019
@logmanoriginal
Copy link
Member

Merged. Thanks for the PR!

infominer33 pushed a commit to web-work-tools/rss-bridge that referenced this pull request Apr 17, 2020
Bandcamp tags pages have a new layout and now use a POST API endpoint to view each page of releases.

Output of this bridge should be almost the same as before, with a few small improvements:
- Small album image in 'content', larger album image in 'enclosures'
- RSS item titles/authors are appended with the releaser in parentheses if the artist name and the releaser are different (i.e. Record Label's Bandcamp releases an album called Bar by the band named Foo, it would get the title 'Foo - Bar (Record Label)' and the author 'Foo (Record Label)')
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.

None yet

2 participants