From a5bb67198b33937ecef3bb99de46bd0204b3d8f4 Mon Sep 17 00:00:00 2001
From: Stefano <l.stickell@yahoo.it>
Date: Sat, 7 Sep 2013 20:20:06 +0200
Subject: FastshareCz: Fixed #253

(cherry picked from commit 5996269acaf33ade1eae532bca09f5a80b04699b)
---
 pyload/plugins/hoster/FastshareCz.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'pyload')

diff --git a/pyload/plugins/hoster/FastshareCz.py b/pyload/plugins/hoster/FastshareCz.py
index b44d55a2d..47ecda65a 100644
--- a/pyload/plugins/hoster/FastshareCz.py
+++ b/pyload/plugins/hoster/FastshareCz.py
@@ -27,7 +27,7 @@ class FastshareCz(SimpleHoster):
     __name__ = "FastshareCz"
     __type__ = "hoster"
     __pattern__ = r"http://(?:\w*\.)?fastshare.cz/\d+/.+"
-    __version__ = "0.15"
+    __version__ = "0.16"
     __description__ = """FastShare.cz"""
     __author_name__ = ("zoidberg", "stickell")
 
@@ -35,7 +35,7 @@ class FastshareCz(SimpleHoster):
     FILE_OFFLINE_PATTERN = ur'<td align=center>Tento soubor byl smazán'
     FILE_URL_REPLACEMENTS = [('#.*', '')]
 
-    FREE_URL_PATTERN = ur'<form method=post action=(/free/.*?)><b>Stáhnout FREE.*?<img src="([^"]*)">'
+    FREE_URL_PATTERN = r'action=(/free/.*?)>\s*<img src="([^"]*)"><br'
     PREMIUM_URL_PATTERN = r'(http://data\d+\.fastshare\.cz/download\.php\?id=\d+\&[^\s\"\'<>]+)'
     NOT_ENOUGH_CREDIC_PATTERN = "Nem.te dostate.n. kredit pro sta.en. tohoto souboru"
 
-- 
cgit v1.2.3