From f7c886a0eb490b5a15ece4fd16531d8ef3cba0c0 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 25 Feb 2018 04:54:18 -0600 Subject: [PATCH] Specifies if results taken from an extractor interface requires VLC transcoding or can be directly downloaded in mp3 --- src/extractors/youtube.py | 2 ++ src/extractors/zaycev.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/extractors/youtube.py b/src/extractors/youtube.py index b73184d..64e31ee 100644 --- a/src/extractors/youtube.py +++ b/src/extractors/youtube.py @@ -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" diff --git a/src/extractors/zaycev.py b/src/extractors/zaycev.py index 9e36d4b..5dcef20 100644 --- a/src/extractors/zaycev.py +++ b/src/extractors/zaycev.py @@ -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)