Permalink
Browse files

moving stuff around (again), fixing small bugs

  • Loading branch information...
1 parent c557357 commit 16de051bd372cea1594f848e22f1120de2c681a7 @justafoo justafoo committed Aug 11, 2008
View
@@ -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',
@@ -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]
@@ -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']
File renamed without changes.
@@ -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')
File renamed without changes.
View
No changes.

0 comments on commit 16de051

Please sign in to comment.