diff options
Diffstat (limited to 'pyload/plugins/hooks')
22 files changed, 22 insertions, 22 deletions
diff --git a/pyload/plugins/hooks/BypassCaptcha.py b/pyload/plugins/hooks/BypassCaptcha.py index 0f16d0b06..fdd1e567c 100644 --- a/pyload/plugins/hooks/BypassCaptcha.py +++ b/pyload/plugins/hooks/BypassCaptcha.py @@ -5,7 +5,7 @@ from thread import start_new_thread from pyload.network.HTTPRequest import BadHeader from pyload.network.RequestFactory import getURL, getRequest -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class BypassCaptchaException(Exception): diff --git a/pyload/plugins/hooks/Captcha9kw.py b/pyload/plugins/hooks/Captcha9kw.py index f8de28710..45890815c 100644 --- a/pyload/plugins/hooks/Captcha9kw.py +++ b/pyload/plugins/hooks/Captcha9kw.py @@ -9,7 +9,7 @@ from thread import start_new_thread from pyload.network.HTTPRequest import BadHeader from pyload.network.RequestFactory import getURL -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class Captcha9kw(Hook): diff --git a/pyload/plugins/hooks/CaptchaBrotherhood.py b/pyload/plugins/hooks/CaptchaBrotherhood.py index 478a08cc5..8f6f8d68b 100644 --- a/pyload/plugins/hooks/CaptchaBrotherhood.py +++ b/pyload/plugins/hooks/CaptchaBrotherhood.py @@ -11,7 +11,7 @@ from time import sleep from urllib import urlencode from pyload.network.RequestFactory import getURL, getRequest -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class CaptchaBrotherhoodException(Exception): diff --git a/pyload/plugins/hooks/Checksum.py b/pyload/plugins/hooks/Checksum.py index 31d0cbf8c..ae9ee1325 100644 --- a/pyload/plugins/hooks/Checksum.py +++ b/pyload/plugins/hooks/Checksum.py @@ -9,7 +9,7 @@ import zlib from os import remove from os.path import getsize, isfile, splitext -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook from pyload.utils import safe_join, fs_encode diff --git a/pyload/plugins/hooks/ClickAndLoad.py b/pyload/plugins/hooks/ClickAndLoad.py index 501845840..ede970ee8 100644 --- a/pyload/plugins/hooks/ClickAndLoad.py +++ b/pyload/plugins/hooks/ClickAndLoad.py @@ -3,7 +3,7 @@ import socket import thread -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class ClickAndLoad(Hook): diff --git a/pyload/plugins/hooks/DeathByCaptcha.py b/pyload/plugins/hooks/DeathByCaptcha.py index f2bae4848..6e7a585ad 100644 --- a/pyload/plugins/hooks/DeathByCaptcha.py +++ b/pyload/plugins/hooks/DeathByCaptcha.py @@ -12,7 +12,7 @@ from time import sleep from pyload.utils import json_loads from pyload.network.HTTPRequest import BadHeader from pyload.network.RequestFactory import getRequest -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class DeathByCaptchaException(Exception): diff --git a/pyload/plugins/hooks/DeleteFinished.py b/pyload/plugins/hooks/DeleteFinished.py index 4b22c7fed..6da42c4e3 100644 --- a/pyload/plugins/hooks/DeleteFinished.py +++ b/pyload/plugins/hooks/DeleteFinished.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from pyload.database import style -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class DeleteFinished(Hook): diff --git a/pyload/plugins/hooks/DownloadScheduler.py b/pyload/plugins/hooks/DownloadScheduler.py index c5caee35d..8336953ee 100644 --- a/pyload/plugins/hooks/DownloadScheduler.py +++ b/pyload/plugins/hooks/DownloadScheduler.py @@ -4,7 +4,7 @@ import re from time import localtime -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class DownloadScheduler(Hook): diff --git a/pyload/plugins/hooks/Ev0InFetcher.py b/pyload/plugins/hooks/Ev0InFetcher.py index cd7314fc9..0df65ceb6 100644 --- a/pyload/plugins/hooks/Ev0InFetcher.py +++ b/pyload/plugins/hooks/Ev0InFetcher.py @@ -4,7 +4,7 @@ import feedparser from time import mktime, time -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class Ev0InFetcher(Hook): diff --git a/pyload/plugins/hooks/ExpertDecoders.py b/pyload/plugins/hooks/ExpertDecoders.py index 292c84b7c..3f0f64f1e 100644 --- a/pyload/plugins/hooks/ExpertDecoders.py +++ b/pyload/plugins/hooks/ExpertDecoders.py @@ -9,7 +9,7 @@ from uuid import uuid4 from pyload.network.HTTPRequest import BadHeader from pyload.network.RequestFactory import getURL, getRequest -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class ExpertDecoders(Hook): diff --git a/pyload/plugins/hooks/ExternalScripts.py b/pyload/plugins/hooks/ExternalScripts.py index 3b32b5068..edf2139f7 100644 --- a/pyload/plugins/hooks/ExternalScripts.py +++ b/pyload/plugins/hooks/ExternalScripts.py @@ -6,7 +6,7 @@ from itertools import chain from os import listdir, access, X_OK, makedirs from os.path import join, exists, basename, abspath -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook from pyload.utils import safe_join diff --git a/pyload/plugins/hooks/ExtractArchive.py b/pyload/plugins/hooks/ExtractArchive.py index 8d6f09172..92db9ce04 100644 --- a/pyload/plugins/hooks/ExtractArchive.py +++ b/pyload/plugins/hooks/ExtractArchive.py @@ -47,7 +47,7 @@ if os.name != "nt": from os import chown from pwd import getpwnam -from pyload.plugins.Hook import Hook, threaded, Expose +from pyload.plugins.base.Hook import Hook, threaded, Expose from pyload.plugins.internal.AbstractExtractor import ArchiveError, CRCError, WrongPassword from pyload.utils import safe_join, fs_encode diff --git a/pyload/plugins/hooks/HotFolder.py b/pyload/plugins/hooks/HotFolder.py index f76e95af4..140e6d4a8 100644 --- a/pyload/plugins/hooks/HotFolder.py +++ b/pyload/plugins/hooks/HotFolder.py @@ -6,7 +6,7 @@ from os import listdir, makedirs from os.path import exists, isfile, join from shutil import move -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class HotFolder(Hook): diff --git a/pyload/plugins/hooks/IRCInterface.py b/pyload/plugins/hooks/IRCInterface.py index 99ac20acb..04ae87b05 100644 --- a/pyload/plugins/hooks/IRCInterface.py +++ b/pyload/plugins/hooks/IRCInterface.py @@ -12,7 +12,7 @@ from traceback import print_exc from pyload.api import PackageDoesNotExists, FileDoesNotExists from pyload.network.RequestFactory import getURL -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook from pyload.utils import formatSize diff --git a/pyload/plugins/hooks/ImageTyperz.py b/pyload/plugins/hooks/ImageTyperz.py index 8d2fb2006..7317f234d 100644 --- a/pyload/plugins/hooks/ImageTyperz.py +++ b/pyload/plugins/hooks/ImageTyperz.py @@ -9,7 +9,7 @@ from pycurl import FORM_FILE, LOW_SPEED_TIME from thread import start_new_thread from pyload.network.RequestFactory import getURL, getRequest -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class ImageTyperzException(Exception): diff --git a/pyload/plugins/hooks/LinkdecrypterCom.py b/pyload/plugins/hooks/LinkdecrypterCom.py index cb7ab9da5..418ec4ac4 100644 --- a/pyload/plugins/hooks/LinkdecrypterCom.py +++ b/pyload/plugins/hooks/LinkdecrypterCom.py @@ -3,7 +3,7 @@ import re from pyload.network.RequestFactory import getURL -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook from pyload.utils import remove_chars diff --git a/pyload/plugins/hooks/MergeFiles.py b/pyload/plugins/hooks/MergeFiles.py index 540ebafdc..5a39cef65 100644 --- a/pyload/plugins/hooks/MergeFiles.py +++ b/pyload/plugins/hooks/MergeFiles.py @@ -4,7 +4,7 @@ import os import re import traceback -from pyload.plugins.Hook import Hook, threaded +from pyload.plugins.base.Hook import Hook, threaded from pyload.utils import safe_join, fs_encode diff --git a/pyload/plugins/hooks/MultiHome.py b/pyload/plugins/hooks/MultiHome.py index 968214b5c..771c3549b 100644 --- a/pyload/plugins/hooks/MultiHome.py +++ b/pyload/plugins/hooks/MultiHome.py @@ -2,7 +2,7 @@ from time import time -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class MultiHome(Hook): diff --git a/pyload/plugins/hooks/RestartFailed.py b/pyload/plugins/hooks/RestartFailed.py index 8bad74620..e1a11db3f 100644 --- a/pyload/plugins/hooks/RestartFailed.py +++ b/pyload/plugins/hooks/RestartFailed.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class RestartFailed(Hook): diff --git a/pyload/plugins/hooks/UnSkipOnFail.py b/pyload/plugins/hooks/UnSkipOnFail.py index 40b0233f5..5d2db34ae 100644 --- a/pyload/plugins/hooks/UnSkipOnFail.py +++ b/pyload/plugins/hooks/UnSkipOnFail.py @@ -3,7 +3,7 @@ from os.path import basename from pyload.datatypes.PyFile import PyFile -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook from pyload.utils import fs_encode diff --git a/pyload/plugins/hooks/WindowsPhoneToastNotify.py b/pyload/plugins/hooks/WindowsPhoneToastNotify.py index 79812cefa..968b3ffa5 100644 --- a/pyload/plugins/hooks/WindowsPhoneToastNotify.py +++ b/pyload/plugins/hooks/WindowsPhoneToastNotify.py @@ -3,7 +3,7 @@ import httplib import time -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class WindowsPhoneToastNotify(Hook): diff --git a/pyload/plugins/hooks/XFileSharingPro.py b/pyload/plugins/hooks/XFileSharingPro.py index 635d5302b..e926d6655 100644 --- a/pyload/plugins/hooks/XFileSharingPro.py +++ b/pyload/plugins/hooks/XFileSharingPro.py @@ -2,7 +2,7 @@ import re -from pyload.plugins.Hook import Hook +from pyload.plugins.base.Hook import Hook class XFileSharingPro(Hook): |