# -*- coding: utf-8 -*- from __future__ import with_statement from module.network.RequestFactory import getURL from module.plugins.Hoster import Hoster from module.plugins.ReCaptcha import ReCaptcha import re def getInfo(urls): yield [(url, 0, 1, url) for url in urls] class UploadStationCom(Hoster): __name__ = "UploadStationCom" __type__ = "hoster" __pattern__ = r"http://(www\.)?uploadstation\.com/file/(?P[A-Za-z0-9]+)" __version__ = "0.33" __description__ = """UploadStation.Com File Download Hoster""" __author_name__ = ("fragonib") __author_mail__ = ("fragonib[AT]yahoo[DOT]es") FILE_OFFLINE_PATTERN = r'''

File not available

|

File is not available

''' FILE_TITLE_PATTERN = r'''
(.*?)
''' FILE_SIZE_PATTERN = r'''
File size: (.*?) (KB|MB|GB)''' CAPTCHA_PRESENT_TOKEN = '