summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-28 20:17:40 +0100
committerGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-30 23:32:17 +0100
commit17e55f17776fb336147414e6b2d4e29925c03305 (patch)
tree8a6898d74127fb3af56124f275cf5ffdb0bd4181 /module/plugins
parentMerge pull request #2128 from thadrien/pull-request-dlprotect (diff)
downloadpyload-17e55f17776fb336147414e6b2d4e29925c03305.tar.xz
LINK_PATTERN was missing in DropboxCom.py
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/DropboxCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/DropboxCom.py b/module/plugins/hoster/DropboxCom.py
index dd9f926a1..7cd7fc64d 100644
--- a/module/plugins/hoster/DropboxCom.py
+++ b/module/plugins/hoster/DropboxCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class DropboxCom(SimpleHoster):
__name__ = "DropboxCom"
__type__ = "hoster"
- __version__ = "0.07"
+ __version__ = "0.08"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?dropbox\.com/.+'
@@ -26,6 +26,8 @@ class DropboxCom(SimpleHoster):
NAME_PATTERN = r'<title>Dropbox - (?P<N>.+?)<'
SIZE_PATTERN = r'&nbsp;&middot;&nbsp; (?P<S>[\d.,]+) (?P<U>[\w^_]+)'
+ LINK_PATTERN = r'<a href="(?P<url>[^"]+?)" id="default_content_download_button" class="freshbutton-blue">'
+
OFFLINE_PATTERN = r'<title>Dropbox - (404|Shared link error)<'
COOKIES = [("dropbox.com", "lang", "en")]