forked from watsonbox/exportify
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace "Export All" button for "Export Page"
Spotify limits paginations of playlist objects to a maximum of 50 items. Depending on how many playlists a user has, multiple calls are required, and Spotify frequently returns "Too many request" errors for relatively small count of requests. This commit replaces the "Export all" button with a "Export page" button in a attempt to force a single request to be made and avoid back pressure from Spotify. To be clear, whats being done here is replacing the inconvenience of not being able to download multiple playlists simultaneously due to quota limits with the inconvenience of manually having to click a button to download playlists in batches a total of playlist_count / 50 times.
- Loading branch information
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters