summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TwoSharedCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/TwoSharedCom.py')
-rw-r--r--module/plugins/hoster/TwoSharedCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/TwoSharedCom.py b/module/plugins/hoster/TwoSharedCom.py
index 03dad69dd..280f1d910 100644
--- a/module/plugins/hoster/TwoSharedCom.py
+++ b/module/plugins/hoster/TwoSharedCom.py
@@ -21,7 +21,7 @@ class TwoSharedCom(SimpleHoster):
FILE_SIZE_PATTERN = r'<span class="dtitle">File size:</span>\s*(?P<S>[\d.,]+) (?P<U>\w+)'
OFFLINE_PATTERN = r'The file link that you requested is not valid\.|This file was deleted\.'
- LINK_PATTERN = r"window.location ='([^']+)';"
+ LINK_PATTERN = r'window.location =\'(.+?)\';'
def setup(self):