Prepare extractors for automatic importing

This commit is contained in:
Manuel Cortez 2018-04-01 05:11:59 -05:00
parent 3e6f6626a1
commit 61f4371509
5 changed files with 8 additions and 5 deletions

View File

@ -1,2 +1,3 @@
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# -*- coding: UTF-8 -*-
from . import mailru, vk, youtube, zaycev

View File

@ -14,10 +14,11 @@ from . import baseFile
log = logging.getLogger("extractors.mail.ru")
class interface(object):
name = "mailru"
def __init__(self):
self.results = []
self.name = "mailru"
self.needs_transcode = False
log.debug("Started extraction service for mail.ru music")

View File

@ -13,10 +13,10 @@ api_endpoint = "https://api-2.datmusic.xyz"
log = logging.getLogger("extractors.vk.com")
class interface(object):
name = "vk"
def __init__(self):
self.results = []
self.name = "vk"
self.needs_transcode = False
log.debug("started extraction service for {0}".format(self.name,))

View File

@ -15,10 +15,11 @@ YOUTUBE_API_VERSION = "v3"
log = logging.getLogger("extractors.youtube.com")
class interface(object):
name = "youtube"
def __init__(self):
self.results = []
self.name = "youtube"
self.needs_transcode = True
log.debug("started extraction service for {0}".format(self.name,))

View File

@ -11,10 +11,10 @@ from . import baseFile
log = logging.getLogger("extractors.zaycev.net")
class interface(object):
name = "zaycev"
def __init__(self):
self.results = []
self.name = "zaycev"
self.needs_transcode = False
log.debug("Started extraction service for zaycev.net")