Introduction
Introduction Statistics Contact Development Disclaimer Help
Replace `&' in artist with `and'. - lyrics - Print lyrics of songs given the ar…
hg clone https://bitbucket.org/iamleot/lyrics
Log
Files
Refs
README
---
changeset c647dc8d1dd49e4ec09d40491c4a528c393b8a22
parent 77674e104120ffc140ad626cd7b385747d98e4dc
Author: Leonardo Taccari <[email protected]>
Date: Sun, 9 Sep 2018 11:45:48
Replace `&' in artist with `and'.
Diffstat:
lyrics.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff -r 77674e104120 -r c647dc8d1dd4 lyrics.py
--- a/lyrics.py Tue Aug 14 11:27:32 2018 +0200
+++ b/lyrics.py Sun Sep 09 11:45:48 2018 +0200
@@ -57,7 +57,7 @@
class Genius(LyricsFetcher):
def _url(self):
- artist = self.artist.replace("'", "").replace(' ', '-')
+ artist = self.artist.replace("'", "").replace(' ', '-').replace('&', '…
title = self.title.replace("'", "").replace(' ', '-').replace(',', '')
return 'https://genius.com/{}-{}-lyrics'.format(artist, title)
You are viewing proxied material from tccr.it. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.