From b7acc14f4a1e6f2a5d635dcbffb9cd985eb1640f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20M=C3=B6llers?= Date: Tue, 23 Jun 2015 19:59:30 +0200 Subject: Update/Fix GamefrontCom hoster plugin GameFront uses a tag around long filenames. This caused the plugin to include the tag in the filename. Instead of the (possibly abbreviated) filename in the page's content, the title (HTML tag) is now used. --- module/plugins/hoster/GamefrontCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hoster/GamefrontCom.py b/module/plugins/hoster/GamefrontCom.py index 590a85ee8..f987a371a 100644 --- a/module/plugins/hoster/GamefrontCom.py +++ b/module/plugins/hoster/GamefrontCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class GamefrontCom(SimpleHoster): __name__ = "GamefrontCom" __type__ = "hoster" - __version__ = "0.07" + __version__ = "0.08" __pattern__ = r'http://(?:www\.)?gamefront\.com/files/(?P<ID>\d+)' @@ -15,7 +15,7 @@ class GamefrontCom(SimpleHoster): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - NAME_PATTERN = r'>File Name:</dt>\s*<dd>(?P<N>.+?)<' + NAME_PATTERN = r'<title>(?P<N>.+?) \| Game Front' SIZE_PATTERN = r'>File Size:\s*
(?P[\d.,]+) (?P[\w^_]+)' OFFLINE_PATTERN = r'

File not found' -- cgit v1.2.3