Added VK extractor

This commit is contained in:
2018-03-01 10:42:47 -06:00
parent 12a2378179
commit 741843b827
3 changed files with 32 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import utils
import application
from pubsub import pub
from wxUI import mainWindow, menus
from extractors import zaycev, youtube
from extractors import zaycev, youtube, vk
from update import updater
from . import player
@@ -206,6 +206,8 @@ class Controller(object):
extractor = self.window.extractor.GetValue()
if extractor == "youtube":
self.extractor = youtube.interface()
elif extractor == "vk":
self.extractor = vk.interface()
elif extractor == "zaycev.net":
self.extractor = zaycev.interface()
elif extractor == "":