diff options
author | stickell <l.stickell@yahoo.it> | 2014-06-03 20:48:23 +0200 |
---|---|---|
committer | stickell <l.stickell@yahoo.it> | 2014-06-03 20:48:23 +0200 |
commit | a961db0f965ea72ad400e3f006f8265efceb2f4b (patch) | |
tree | c69faa9e49350bde17d67aedf6807a029a47e151 | |
parent | [MegaDebridEu] getFilename enhancement (diff) | |
parent | Update UlozTo.py - change of file_name_pattern (diff) | |
download | pyload-a961db0f965ea72ad400e3f006f8265efceb2f4b.tar.xz |
Merge pull request #628 from Jelenik/stable
[UlozTo] change of file_name_pattern
-rw-r--r-- | module/plugins/hoster/UlozTo.py | 4 |
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>' |