Arillo\InstagramScraper\Tasks\ScraperTask
Task supposed to run in a cronjob.
Needs params type (for now only hashtag is supported) & subject (the requested hashtag)
Required request params:
type hashtag, username, location
subject depends on type param:
hashtag: string
username: string
location: instagram location id
rewrite (optional) forces db rewrite for existing records
- Author: bumbus <sf@arillo.net>
Synopsis
class ScraperTask
extends BuildTask
{
- // constants
- const URLPARAM_TYPE = 'type';
- const URLPARAM_SUBJECT = 'subject';
- const URLPARAM_FORCE_REWRITE = 'rewrite';
- // methods
- public void run()
Hierarchy
Extends
- BuildTask
Constants
Name | Value |
---|---|
URLPARAM_TYPE | 'type' |
URLPARAM_SUBJECT | 'subject' |
URLPARAM_FORCE_REWRITE | 'rewrite' |