diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-17 18:29:50 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:42:29 +0200 |
commit | 164512b6a74c94a731fcee7435dce1ccfa2f71e7 (patch) | |
tree | 3f61d3b83f641070145b478f54522c4fe2e63691 /module/plugins/hoster/MyvideoDe.py | |
parent | Spare fixes (diff) | |
download | pyload-164512b6a74c94a731fcee7435dce1ccfa2f71e7.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/MyvideoDe.py')
-rw-r--r-- | module/plugins/hoster/MyvideoDe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MyvideoDe.py b/module/plugins/hoster/MyvideoDe.py index bc4d1ffeb..2194069f5 100644 --- a/module/plugins/hoster/MyvideoDe.py +++ b/module/plugins/hoster/MyvideoDe.py @@ -3,7 +3,7 @@ import re from module.plugins.internal.Hoster import Hoster -from module.unescape import unescape +from module.utils import html_unescape class MyvideoDe(Hoster): @@ -38,7 +38,7 @@ class MyvideoDe(Hoster): def get_file_name(self): file_name_pattern = r'<h1 class=\'globalHd\'>(.*)</h1>' - return unescape(re.search(file_name_pattern, self.html).group(1).replace("/", "") + '.flv') + return html_unescape(re.search(file_name_pattern, self.html).group(1).replace("/", "") + '.flv') def file_exists(self): |