A mini spider framework, Integrate aiohttp into scrapy
Project description
Python async library for web scraping PyPI version License: MIT
Build Status codecov codebeat badge Codacy Badge
Installing pip install aioscrapy_redis Usage Plain text scraping
from aioscrapy_redis.core.spider import Spider
from aioscrapy_redis.https.request import Request
import re
from urllib.parse import unquote
""" The start url can be placed in start_urls or written to the redis queue """
class Async_Spider(Spider):
name = 'aioscrapy_spider'
redis_key = 'aioscrapy_spider:url'
start_urls = []
def parse(self, response):
pass
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioscrapy_redis-0.6.tar.gz.
File metadata
- Download URL: aioscrapy_redis-0.6.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f58438272952190eb27834609940aab474d525c2ed880f11aad20b1abbfb32f
|
|
| MD5 |
7bdd65851f91d92581cff567537ca7c7
|
|
| BLAKE2b-256 |
327a4ef6cffa592cef2db03907f71a2a2c491aa4856f85db7f7a900c5f6b1e6b
|
File details
Details for the file aioscrapy_redis-0.6-py3-none-any.whl.
File metadata
- Download URL: aioscrapy_redis-0.6-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c18c59e806570e806e1e11c81386e2b165387e847ce5864d090635c288447ab
|
|
| MD5 |
8f9edb3dba3e8bafc6fa6b0235135466
|
|
| BLAKE2b-256 |
a2ee43dcd23fbfde0743f46e390c324ad39172209760c63e02b1203ce5947d7d
|