LibriVox / librivox-catalog

LibriVox catalog and reader workflow application
https://librivox.org
MIT License
36 stars 17 forks source link

Fix API giving uploader URLs instead of Archive #218

Closed redrun45 closed 3 months ago

redrun45 commented 3 months ago

Take two. I'd actually thought the first one was merged, and I'm in the habit of keeping as few branches on GH as necessary.

Fixes #211. Calling /api/feed/audiobooks with extended=1 will now give the Archive.org URLs for sections in completed projects, and empty strings for projects in progress.

From the database, we're substituting mp3_64_url for the previously used listen_url. I opted to leave the API name the same, in case someone actually has been using it successfully.