forked from Boris-code/feapder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
36 lines (33 loc) · 815 Bytes
/
__init__.py
File metadata and controls
36 lines (33 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- coding: utf-8 -*-
"""
Created on 2020/4/21 10:41 PM
---------
@summary:
---------
@author: Boris
@email: boris_liu@foxmail.com
"""
import os
import re
import sys
sys.path.insert(0, re.sub(r"([\\/]items$)|([\\/]spiders$)", "", os.getcwd()))
__all__ = [
"AirSpider",
"Spider",
"TaskSpider",
"BatchSpider",
"BaseParser",
"TaskParser",
"BatchParser",
"Request",
"Response",
"Item",
"UpdateItem",
"ArgumentParser",
]
from feapder.core.spiders import AirSpider, Spider, TaskSpider, BatchSpider
from feapder.core.base_parser import BaseParser, TaskParser, BatchParser
from feapder.network.request import Request
from feapder.network.response import Response
from feapder.network.item import Item, UpdateItem
from feapder.utils.custom_argparse import ArgumentParser