Added track formatting into baseSong.
This commit is contained in:
		| @@ -10,4 +10,7 @@ class song(object): | ||||
| 		self.artist = "" | ||||
| 		self.duration = "" | ||||
| 		self.size = 0 | ||||
| 		self.url = "" | ||||
| 		self.url = "" | ||||
|  | ||||
| 	def format_track(self): | ||||
| 		return "{0}. {1}. {2}".format(self.title, self.duration, self.size) | ||||
| @@ -1,10 +1,10 @@ | ||||
| #!/usr/bin/env python | ||||
| # -*- coding: UTF-8 -*- | ||||
| import baseFile | ||||
| import re | ||||
| import json | ||||
| import requests | ||||
| from bs4 import BeautifulSoup | ||||
| from . import baseFile | ||||
|  | ||||
| class interface(object): | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user