Prepare extractors for automatic importing
This commit is contained in:
parent
3e6f6626a1
commit
61f4371509
@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: UTF-8 -*-
|
||||
# -*- coding: UTF-8 -*-
|
||||
from . import mailru, vk, youtube, zaycev
|
@ -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")
|
||||
|
||||
|
@ -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,))
|
||||
|
||||
|
@ -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,))
|
||||
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user