-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use format string and refactor spotify search loop to show progress.
This makes it easier to visually confirm that the all playlist tracks are being processed. ``` $ python YouTube.py https://open.spotify.com/playlist/0yasezcPZp9GvDpiIonDPv Spotify tracks: 100/1587 Spotify tracks: 200/1587 ... Spotify tracks: 1400/1587 Spotify tracks: 1500/1587 Spotify tracks: 1587/1587 YouTube tracks: 10/1587 YouTube tracks: 20/1587 YouTube tracks: 30/1587 YouTube tracks: 40/1587 ... ``` Format strings required Python 3.6+ so update the README.md. Also added a newline to the "noresults" file so that the shell prompt is on a new line after `cat`ing the file.
- Loading branch information
1 parent
b9c1b7f
commit a296565
Showing
3 changed files
with
16 additions
and
16 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
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
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