Skip to content

Instantly share code, notes, and snippets.

View munishkhatri720's full-sized avatar
💭
I may be slow to respond.

Munish Khatri munishkhatri720

💭
I may be slow to respond.
View GitHub Profile
@munishkhatri720
munishkhatri720 / deezer_lyrics.py
Created April 27, 2024 07:44 — forked from akashrchandran/deezer_lyrics.py
A simple way to get synchronised album lyrics from deezer and save it lrc file.
import requests
import contextlib
API_BASE = 'http://www.deezer.com/ajax/gw-light.php'
session = requests.Session()
def api_call(token, method, json=None):
params = {'api_version': "1.0", 'api_token': token,'input': '3', 'method': method}
req = session.post(API_BASE, params=params, json=json)
return req.json()
# Copyright 2020-present Michael Hall
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@munishkhatri720
munishkhatri720 / README.md
Created May 15, 2023 04:47 — forked from cloudwithax/README.md
Spotify Music Cog for Wavelink

Spotify Music Cog for Wavelink

This is a drop-in Wavelink music cog with Spotify support. Queue up tracks, albums, and playlists with the power of Python.

This requires that you have spotify.py installed from this repo

Feel free to add/edit any other commands and features, like pausing, skipping, queue management and more!

If you would like to revise anything here, feel free to comment/pull request.