Skip to content

Commit

Permalink
removed debug print statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Liupold committed Apr 15, 2023
1 parent 2951f89 commit a3174ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fmdpy/api.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""api for fetching song metadata and url."""
import base64 as bs64
import requests
from Crypto.Cipher import DES
from fmdpy import headers, ART
from fmdpy.song import Song
from Crypto.Cipher import DES
import base64 as bs64

def get_song_urls(song_obj):
"""Fetch song download url."""
Expand All @@ -19,8 +19,6 @@ def get_song_urls(song_obj):
song_obj.url = decrypted.replace(b'\x05', b'').decode().replace('_96', '_320')
song_obj.thumb_url = raw_json['image'].replace(
'-150x150.jpg', '-500x500.jpg')
print(raw_json)
print(song_obj)

def parse_search_query(query_json):
song_list = []
Expand Down

0 comments on commit a3174ce

Please sign in to comment.