Apify is package with Python bindings for apifier.com - a plaftorm for creating web crawlers.
Apify is available for python 2.7 and above
pip install apify
Getting all stored records from dummy-store
:
from apify import KeyValueStore
store = KeyValueStore('dummy-store')
for record in store:
print record
Getting only record pages 100, 101, ..., 198, 199
from dummy-store
:
from apify import KeyValueStore
store = KeyValueStore('dummy-store')
store.page = 99 # starts with fetching the next (100th) page
for record in store:
if store.page == 200:
break
print record
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. :)