summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar stickell <l.stickell@yahoo.it> 2014-06-03 20:48:23 +0200
committerGravatar stickell <l.stickell@yahoo.it> 2014-06-03 20:48:23 +0200
commita961db0f965ea72ad400e3f006f8265efceb2f4b (patch)
treec69faa9e49350bde17d67aedf6807a029a47e151 /module
parent[MegaDebridEu] getFilename enhancement (diff)
parentUpdate UlozTo.py - change of file_name_pattern (diff)
downloadpyload-a961db0f965ea72ad400e3f006f8265efceb2f4b.tar.xz
Merge pull request #628 from Jelenik/stable
[UlozTo] change of file_name_pattern
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/UlozTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UlozTo.py b/module/plugins/hoster/UlozTo.py
index 65e941981..282d4605b 100644
--- a/module/plugins/hoster/UlozTo.py
+++ b/module/plugins/hoster/UlozTo.py
@@ -31,12 +31,12 @@ class UlozTo(SimpleHoster):
__name__ = "UlozTo"
__type__ = "hoster"
__pattern__ = r'http://(?:www\.)?(uloz\.to|ulozto\.(cz|sk|net)|bagruj.cz|zachowajto.pl)/(?:live/)?(?P<id>\w+/[^/?]*)'
- __version__ = "0.97"
+ __version__ = "0.98"
__description__ = """Uloz.to hoster plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
- FILE_NAME_PATTERN = r'<a href="#download" class="jsShowDownload">(?P<N>[^<]+)</a>'
+ FILE_NAME_PATTERN = r'<title>(?P<N>[^<]+) \| Uloz.to</title>'
FILE_SIZE_PATTERN = r'<span id="fileSize">.*?(?P<S>[0-9.]+\s[kMG]?B)</span>'
FILE_INFO_PATTERN = r'<p>File <strong>(?P<N>[^<]+)</strong> is password protected</p>'
FILE_OFFLINE_PATTERN = r'<title>404 - Page not found</title>|<h1 class="h1">File (has been deleted|was banned)</h1>'