delay 'requests'-import

pull/13/head
Mike Fährmann 9 years ago
parent a4c880f4c5
commit 3fb5a8b834
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -17,7 +17,7 @@ __email__ = "mike_faehrmann@web.de"
import os
import sys
import argparse
from . import config, jobs
from . import config, extractor, jobs
def build_cmdline_parser():
parser = argparse.ArgumentParser(

@ -12,18 +12,9 @@ import time
import queue
import requests
import threading
from .message import Message
from .. import config
class Message():
Version = 1
Directory = 2
Url = 3
Headers = 4
Cookies = 5
class Extractor():
def __init__(self):

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
class Message():
Version = 1
Directory = 2
Url = 3
Headers = 4
Cookies = 5

@ -9,7 +9,7 @@
import os
import sys
from . import config, extractor, downloader, text
from .extractor.common import Message
from .extractor.message import Message
class DownloadJob():

Loading…
Cancel
Save