Specifies if results taken from an extractor interface requires VLC transcoding or can be directly downloaded in mp3

This commit is contained in:
Manuel Cortez 2018-02-25 04:54:18 -06:00
parent 3bcf10cb97
commit f7c886a0eb
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ class interface(object):
def __init__(self):
self.results = []
self.name = "youtube"
self.needs_transcode = True
def search(self, text, page=1):
type = "video"

View File

@ -10,6 +10,8 @@ class interface(object):
def __init__(self):
self.results = []
self.name = "zaycev"
self.needs_transcode = False
def search(self, text, page=1):
site = 'http://go.mail.ru/zaycev?q=%s&page=%s' % (text, page)