Skip to content

bn1/python-apify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apify

Apify is package with Python bindings for apifier.com - a plaftorm for creating web crawlers.

Install

Apify is available for python 2.7 and above

pip install apify

Examples

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

Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. :)

Releases

No releases published

Packages

No packages published

Languages