Skip to content

Commit 686d51f

Browse files
committed
Update - new links pattern
1 parent 831f9d2 commit 686d51f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎module/plugins/hoster/FileSharkPl.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class FileSharkPl(SimpleHoster):
1111
__name__ = "FileSharkPl"
1212
__type__ = "hoster"
13-
__version__ = "0.09"
13+
__version__ = "0.10"
1414

1515
__pattern__ = r'http://(?:www\.)?fileshark\.pl/pobierz/\d+/\w+'
1616
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -25,8 +25,8 @@ class FileSharkPl(SimpleHoster):
2525
SIZE_PATTERN = r'<p class="size-file">(.*?)<strong>(?P<S>\d+\.?\d*)\s(?P<U>\w+)</strong></p>'
2626
OFFLINE_PATTERN = r'(P|p)lik zosta. (usuni.ty|przeniesiony)'
2727

28-
LINK_FREE_PATTERN = r'<a href="(.*?)" class="btn-upload-free">'
29-
LINK_PREMIUM_PATTERN = r'<a href="(.*?)" class="btn-upload-premium">'
28+
LINK_FREE_PATTERN = r'<a rel="nofollow" href="(.*?)" class="btn-upload-free">'
29+
LINK_PREMIUM_PATTERN = r'<a rel="nofollow" href="(.*?)" class="btn-upload-premium">'
3030

3131
WAIT_PATTERN = r'var timeToDownload = (\d+);'
3232
ERROR_PATTERN = r'<p class="lead text-center alert alert-warning">(.*?)</p>'

0 commit comments

Comments
 (0)