Skip to content

Commit

Permalink
[DropDownload] add DL_LIMIT_PATTERN
Browse files Browse the repository at this point in the history
  • Loading branch information
GammaC0de committed Apr 27, 2024
1 parent 7f97bb8 commit 0947cbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pyload/plugins/downloaders/DropDownload.py
Expand Up @@ -6,7 +6,7 @@
class DropDownload(XFSDownloader):
__name__ = "DropDownload"
__type__ = "downloader"
__version__ = "0.03"
__version__ = "0.04"
__status__ = "testing"

__pattern__ = r"https?://(?:www\.)?drop\.download/\w{12}"
Expand All @@ -25,6 +25,8 @@ class DropDownload(XFSDownloader):
PLUGIN_DOMAIN = "drop.download"
LINK_PATTERN = r'<a href="(https://s\d+\.drop\.download.+?)"'

DL_LIMIT_PATTERN = r"You have reached the download-limit: [\d.,]+\s*[a-zA-Z]* for last (\d+ days)"

def setup(self):
self.multi_dl = True
self.resume_download = True
Expand Down

0 comments on commit 0947cbd

Please sign in to comment.