mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
downloader -> extractor
This commit is contained in:
parent
6f77174f34
commit
d1d02fe7ae
@ -6,4 +6,5 @@ from .version import *
|
||||
# Easy import
|
||||
#from .cli_wrapper.converter import *
|
||||
#from .cli_wrapper.player import *
|
||||
from .downloader import *
|
||||
from .cli_wrapper import *
|
||||
from .extractor import *
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
__all__ = ['main', 'any_download', 'any_download_playlist']
|
||||
|
||||
from ..downloader import *
|
||||
from ..extractor import *
|
||||
from ..common import *
|
||||
|
||||
def url_to_module(url):
|
@ -4,7 +4,7 @@
|
||||
import unittest
|
||||
|
||||
from you_get import *
|
||||
from you_get.downloader.__main__ import url_to_module
|
||||
from you_get.extractor.__main__ import url_to_module
|
||||
|
||||
def test_urls(urls):
|
||||
for url in urls:
|
||||
|
2
you-get
2
you-get
@ -4,7 +4,7 @@ import os, sys
|
||||
__path__ = os.path.dirname(os.path.realpath(__file__))
|
||||
__srcdir__ = 'src'
|
||||
sys.path.insert(1, os.path.join(__path__, __srcdir__))
|
||||
from you_get.downloader import main
|
||||
from you_get.extractor import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
@ -31,6 +31,6 @@
|
||||
],
|
||||
|
||||
"console_scripts": [
|
||||
"you-get = you_get.downloader.__main__:main"
|
||||
"you-get = you_get.extractor.__main__:main"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user