From be24d032c3c3a74c18fbd347f98104cafe28aacd Mon Sep 17 00:00:00 2001 From: Jelenik Date: Mon, 26 May 2014 20:12:30 +0200 Subject: Update UlozTo.py - change of file_name_pattern - last used file_name_pattern was not present in html, I have it changed for info from title tag --- module/plugins/hoster/UlozTo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') 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\w+/[^/?]*)' - __version__ = "0.97" + __version__ = "0.98" __description__ = """Uloz.to hoster plugin""" __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - FILE_NAME_PATTERN = r'(?P[^<]+)' + FILE_NAME_PATTERN = r'(?P<N>[^<]+) \| Uloz.to' FILE_SIZE_PATTERN = r'.*?(?P[0-9.]+\s[kMG]?B)' FILE_INFO_PATTERN = r'

File (?P[^<]+) is password protected

' FILE_OFFLINE_PATTERN = r'404 - Page not found|

File (has been deleted|was banned)

' -- cgit v1.2.3