summaryrefslogtreecommitdiffstats
path: root/Plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-12 17:26:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-12 17:26:38 +0200
commitf5c3720a5cdfc93734733b4ac8aba79289197f8f (patch)
treefb39d1bdfec4999da9bc0b46dc731328d6fc54e8 /Plugins
parentpycurl interface, need some testing (diff)
downloadpyload-f5c3720a5cdfc93734733b4ac8aba79289197f8f.tar.xz
time-, plugin fix, debug output
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/NetloadIn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugins/NetloadIn.py b/Plugins/NetloadIn.py
index ac14a670c..9509796f4 100644
--- a/Plugins/NetloadIn.py
+++ b/Plugins/NetloadIn.py
@@ -109,10 +109,10 @@ class NetloadIn(Plugin):
self.want_reconnect = True
def get_file_name(self):
- if not self.want_reconnect:
+ try:
file_name_pattern = '\t\t\t(.+)<span style="color: #8d8d8d;">'
return re.search(file_name_pattern, self.html[0]).group(1)
- else:
+ except:
return self.parent.url
def file_exists(self):