Skip to content

Commit

Permalink
downloader -> extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
soimort committed Sep 11, 2013
1 parent 6f77174 commit d1d02fe
Show file tree
Hide file tree
Showing 47 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/you_get/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
# Easy import
#from .cli_wrapper.converter import *
#from .cli_wrapper.player import *
from .downloader import *
from .cli_wrapper import *
from .extractor import *
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion you-get
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion you-get.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
],

"console_scripts": [
"you-get = you_get.downloader.__main__:main"
"you-get = you_get.extractor.__main__:main"
]
}

0 comments on commit d1d02fe

Please sign in to comment.