diff options
| author | 2010-01-03 22:12:21 +0100 | |
|---|---|---|
| committer | 2010-01-03 22:12:21 +0100 | |
| commit | c58c228bbec2e59d3c208f85c0a9e7d205dfe050 (patch) | |
| tree | 740753ac78c6c93552617d06826627b7c41b9df8 /module | |
| parent | Fixed XML File (diff) | |
| download | pyload-c58c228bbec2e59d3c208f85c0a9e7d205dfe050.tar.xz | |
Better Uploaded Pattern
Diffstat (limited to 'module')
| -rw-r--r-- | module/config/plugin_default.xml | 9 | ||||
| -rw-r--r-- | module/plugins/hoster/UploadedTo.py | 2 | 
2 files changed, 1 insertions, 10 deletions
diff --git a/module/config/plugin_default.xml b/module/config/plugin_default.xml index 76a873048..1ad653251 100644 --- a/module/config/plugin_default.xml +++ b/module/config/plugin_default.xml @@ -1,14 +1,5 @@  <config>      <RapidshareCom> -        <!-- possible:  -            Cogent, Deutsche Telekom, -            Level(3), Level(3) #2, -            GlobalCrossing, Level(3) #3, -            Teleglobe, GlobalCrossing #2, -            TeliaSonera #2, Teleglobe #2, -            TeliaSonera #3, TeliaSonera -        --> -        <!-- leave empty for autmomatic selection -->          <server input=";Cogent;Deutsche Telekom;Level(3);Level(3) #2;GlobalCrossing;Level(3) #3;Teleglobe;GlobalCrossing #2;TeliaSonera #2;Teleglobe #2;TeliaSonera #3;TeliaSonera"></server>          <premium>False</premium>          <username></username> diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index 6079003bf..df7d577f9 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -13,7 +13,7 @@ class UploadedTo(Plugin):          props = {}          props['name'] = "UploadedTo"          props['type'] = "hoster" -        props['pattern'] = r"http://(?:www\.)?u(?:p)?l(?:oaded)?\.to/(?:file/)?(.*)" +        props['pattern'] = r"http://(?:www\.)?u(?:p)?l(?:oaded)?\.to/(?:file/|\?id=)?(.+)"          props['version'] = "0.3"          props['description'] = """Uploaded.to Download Plugin"""          props['author_name'] = ("spoob", "mkaay")  | 
