Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
Apify Scrapy Executor
Support module for Apify Scrapy Migrator. Runs migrated Scrapy project and uploads result to Apify default dataset.
Usage
Since apify-client does not fully support local runs yet, migrated
Scrapy projects work best on Apify Cloud. Apify Scrapy Migrator is recommended to be used with Apify Scrapy Migrator on
Apify Cloud.
But for people who want to earn their results, here is a small example.
# import SpiderExecutor class
from apify_scrapy_executor import SpiderExecutor
# create instance of the Spider executor class with scrapy class as an argument
spider_executor = SpiderExecutor(scrapy_class)
# run the scrapy project with dataset_id argument to save the result and args_dict for scrapy input
spider_executor.run(dataset_id=apify_dataset, args_dict=actor_input)
Metadata
Release files for apify-scrapy-executor 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apify_scrapy_executor-0.0.10.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apify_scrapy_executor-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / apify_scrapy_executor-0.0.10.tar.gz
| Download URL | apify_scrapy_executor-0.0.10.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f201161cdd5c74a8e557e075004de9e2a6026f2e57bea28426d7c81fda205514
|
|
BLAKE2b-256 checksum How to use checksums |
28dd0a7e77362cecea56fe761ce0d608ef08e94d945ddb510e6d977294a453e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.8
|
Release files / apify_scrapy_executor-0.0.10-py3-none-any.whl
| Download URL | apify_scrapy_executor-0.0.10-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd98bf19506bcd1afd61d8a03ed9a3e21284d9e90c27a98d5eff8267f2012a85
|
|
BLAKE2b-256 checksum How to use checksums |
6dd4dc37c941a6aa8559be86e6d73fc5326b001286532f5279992eb4ac41e6db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.8
|