Compare commits

...

1 Commits
v2021.10 ... ls

Author SHA1 Message Date
95838885e7 Fix parsing of songlist download page for CSV file link 2022-04-07 21:32:11 +02:00

View File

@ -18,7 +18,7 @@ def create_data_directory():
def get_catalog_url():
r = requests.get('https://www.karafun.de/karaoke-song-list.html')
soup = BeautifulSoup(r.content, 'html.parser')
url = soup.findAll('a', href=True, text='Available in CSV format')[0]['href']
url = soup.findAll('a', href=True, text='Verfügbar in CSV-Format')[0]['href']
return url
def get_songs(url):