DSL for adding pages to queue
Sample of DSL
Scruber.run :sample do get_product 'https://example.com/product1.html' # Alias to # queue.add 'https://example.com/product1.html', page_type: :product post_subscribe 'https://example.com/subscribe', body: { email: '[email protected]' } # Alias to # queue.add 'https://example.com/product1.html', method: :post, page_type: :subscribe, body: { email: '[email protected]' } end
Modules: CoreMethods
descendants, inherited, register