diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-31 04:00:44 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-31 04:00:44 +0100 |
commit | 816aa8cfb2f78b10302f761201e223ff8b6c642d (patch) | |
tree | 8a6898d74127fb3af56124f275cf5ffdb0bd4181 /module | |
parent | Merge pull request #2128 from thadrien/pull-request-dlprotect (diff) | |
parent | LINK_PATTERN was missing in DropboxCom.py (diff) | |
download | pyload-816aa8cfb2f78b10302f761201e223ff8b6c642d.tar.xz |
Merge pull request #2137 from thadrien/pull-request-DropboxCom
LINK_PATTERN was missing in DropboxCom.py
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/DropboxCom.py | 4 |
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' · (?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")] |