Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

moving stuff around (again), fixing small bugs

  • Loading branch information...
commit 16de051bd372cea1594f848e22f1120de2c681a7 1 parent c557357
@justafoo justafoo authored
View
3  setup.py
@@ -10,8 +10,9 @@
author='Jan Huelsbergen',
author_email='jan@afoo.de',
url='http://github.com/justafoo/vleech/',
+ package_dir={'': 'src'},
packages=['vleech', 'vleech.siteplugins'],
- scripts=['vleech.py'],
+ scripts=['vleech'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
View
5 src/vleech/__init__.py
@@ -0,0 +1,5 @@
+import glob
+import os
+__all__ = [os.path.basename(x)[:-3] for x in
+ glob.glob(os.path.join(os.path.dirname(__file__)), '*py')
+ if '__init__' not in x]
View
3  vleech/main.py → src/vleech/main.py
@@ -7,7 +7,8 @@
import urlparse
from subprocess import call
-from vleech.plugin import plugins
+from vleech.plugin import plugins, PluginError
+from vleech.siteplugins import *
__all__ = ['main']
View
0  vleech/plugin.py → src/vleech/plugin.py
File renamed without changes
View
0  vleech/siteplugins/__init__.py → src/vleech/siteplugins/__init__.py
File renamed without changes
View
2  vleech/siteplugins/break.py → src/vleech/siteplugins/break.py
@@ -10,7 +10,7 @@ class Break(Plugin):
site = 'break.com'
PATH_RE = re.compile(r'ContentFilePath=\'(.*?)\'', re.M)
- NAME_RE = re.compile(r'Filename=\'(.*?)\'', re.M)
+ NAME_RE = re.compile(r'FileName=\'(.*?)\'', re.M)
def parse(self, url, data):
path = self._data_search(self.PATH_RE, data, 'file path not found')
View
0  vleech/siteplugins/vgoogle.py → src/vleech/siteplugins/vgoogle.py
File renamed without changes
View
0  vleech/siteplugins/youtube.py → src/vleech/siteplugins/youtube.py
File renamed without changes
View
0  vleech.py → vleech
File renamed without changes
View
0  vleech/__init__.py
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.