summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index d1227eb29..f4b6c85cd 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -606,7 +606,7 @@ class Plugin(Base):
newname = self.req.httpDownload(url, filename, get=get, post=post, ref=ref, cookies=cookies,
chunks=self.getChunkCount(), resume=self.resumeDownload,
progressNotify=self.pyfile.setProgress, disposition=disposition)
- newname = urlparse(html_unescape(newname)).path.split("/")[-1]
+ newname = urlparse(newname).path.split("/")[-1]
finally:
self.pyfile.size = self.req.size