summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OverLoadMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/OverLoadMe.py')
-rw-r--r--module/plugins/hoster/OverLoadMe.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/module/plugins/hoster/OverLoadMe.py b/module/plugins/hoster/OverLoadMe.py
index f030c9e87..7b7c83893 100644
--- a/module/plugins/hoster/OverLoadMe.py
+++ b/module/plugins/hoster/OverLoadMe.py
@@ -1,23 +1,27 @@
# -*- coding: utf-8 -*-
import re
-from urllib import unquote
+
from random import randrange
+from urllib import unquote
-from module.plugins.Hoster import Hoster
from module.common.json_layer import json_loads
+from module.plugins.Hoster import Hoster
from module.utils import parseFileSize
class OverLoadMe(Hoster):
__name__ = "OverLoadMe"
- __version__ = "0.01"
__type__ = "hoster"
+ __version__ = "0.01"
+
__pattern__ = r'https?://.*overload\.me.*'
+
__description__ = """Over-Load.me hoster plugin"""
__author_name__ = "marley"
__author_mail__ = "marley@over-load.me"
+
def getFilename(self, url):
try:
name = unquote(url.rsplit("/", 1)[1])