pipeline.py: add support for 'page' and cookies